Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FailedAuthenticationModel

Model which represents failed authentication.
Whenever user fails to authenticate too many times and it's account is disabled as consequence, this model will be persisted by the FailedAuthenticationAttemptsRepository.

Hierarchy

Properties

accountId

accountId: string

Account id.

detectedAt

detectedAt: number

Timestamp when authentication failure has been detected.

Optional device

device: null | HttpDevice

Device from where authentication has been made.

id

id: string

Authentication id.

ip

ip: string

Ip from where authentication has been made.

Optional location

location: null | HTTPRequestLocation

Location from where authentication has been made.