auth/account_routes.ts view source
AccountRouteOptions Per-factory configuration for account route specs.
inheritance
login_account_rate_limiter
Rate limiter for login attempts, keyed by submitted username. Pass null to disable.
RateLimiter | nullmax_sessions
Max active sessions per account. Evicts oldest on login. Default 5, null disables.
number | nulllogin_fail_floor_ms
Minimum wall-clock time (ms) for login 401 responses. Set to 0 or a
negative number to disable (e.g., in tests). Default
DEFAULT_LOGIN_FAIL_FLOOR_MS.
numberlogin_fail_jitter_ms
Uniform jitter window (±ms) layered on the floor. Set to 0 to disable
jitter while keeping the floor. Default DEFAULT_LOGIN_FAIL_JITTER_MS.
number