protected function configureRateLimiting(): void 	{ 		RateLimiter::for('api', function (Request $request): Limit { 			$user = getUser(); 			$role = $user?->role;  			return new Limit( 				$user?->getKey() ?? $request->ip(), 				$role->api_rate_limit ?? setting('api_rate_limit', 60), 				$role->api_rate_limit_backoff_minutes ?? setting('api_rate_limit_backoff_minutes', 1) 			); 		}); 	}