Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SuccessfulAuthenticationsMysqlRepository

Hierarchy

  • SuccessfulAuthenticationsMysqlRepository

Implements

  • SuccessfulAuthenticationsRepository

Constructors

constructor

Methods

authBeforeFromThisDevice

  • authBeforeFromThisDevice(accountId: string, device: HttpDevice): Promise<boolean>
  • Parameters

    • accountId: string
    • device: HttpDevice

    Returns Promise<boolean>

insert

  • insert(authentication: SuccessfulAuthenticationModel): Promise<void>
  • Parameters

    • authentication: SuccessfulAuthenticationModel

    Returns Promise<void>

readRange

  • readRange(accountId: string, startingFrom?: number, endingTo?: number): Promise<SuccessfulAuthenticationModel[]>
  • Parameters

    • accountId: string
    • Optional startingFrom: number
    • Optional endingTo: number

    Returns Promise<SuccessfulAuthenticationModel[]>