Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SuccessfulAuthenticationsRepository

Repository which holds users successful authentication attempts.

Hierarchy

  • SuccessfulAuthenticationsRepository

Methods

authBeforeFromThisDevice

  • authBeforeFromThisDevice(accountId: string, device: HttpDevice): Promise<boolean>
  • Detect whether user has made a successful authentication attempt in the past from this device.

    Parameters

    • accountId: string

      Account id.

    • device: HttpDevice

      Device from where current authentication has been made.

    Returns Promise<boolean>

    Whether authentication has been made before.

insert

readRange