Documentation / @zerotal/auth / Lockout
Class: Lockout
Defined in: auth/src/events.ts:62
Emitted when login attempts for an identifier are throttled (too many failures within the window) — use it to alert the account owner or feed intrusion detection.
Constructors
Constructor
new Lockout(
guard,identifier,ctx):Lockout
Defined in: auth/src/events.ts:63
Parameters
guard
string
identifier
string
ctx
object | undefined
Returns
Lockout
Properties
guard
readonlyguard:string
Defined in: auth/src/events.ts:64
identifier
readonlyidentifier:string
Defined in: auth/src/events.ts:65
ctx
readonlyctx:object|undefined
Defined in: auth/src/events.ts:66