Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FailedAuthenticationAttemptSession

Session which stores failed authentication attempts for the whole account, no matter from which device failed authentication has been made.
On the successful authentication, this session needs to be deleted.
This session is mainly used to detect brute force attack and employ some form of protection (recaptcha & account disabling for some amount of time).

Hierarchy

  • FailedAuthenticationAttemptSession

Properties

counter

counter: number

Number of failed authentication attempts detected.
Each time a new attempt is detected, this counter gets incremented.

detectedAt

detectedAt: number

When attempt has been detected.

Optional device

device: null | HttpDevice

Device from where authentication has been made.

ip

ip: string

Ip from where authentication has been made.

Optional location

location: null | HTTPRequestLocation

Location from where authentication has been made.