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