Skip to main content
zerotal

Documentation


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

readonly guard: string

Defined in: auth/src/events.ts:64


identifier

readonly identifier: string

Defined in: auth/src/events.ts:65


ctx

readonly ctx: object | undefined

Defined in: auth/src/events.ts:66