Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActivateAccountSessionRedisRepository

Hierarchy

  • ActivateAccountSessionRedisRepository

Implements

  • ActivateAccountSessionRepository<AccountWithTotpSecret>

Constructors

Methods

Constructors

constructor

Methods

delete

  • delete(token: string): Promise<void>
  • Parameters

    • token: string

    Returns Promise<void>

insert

  • insert(token: string, account: AccountWithTotpSecret, ttl: number): Promise<void>
  • Parameters

    • token: string
    • account: AccountWithTotpSecret
    • ttl: number

    Returns Promise<void>

read

  • read(token: string): Promise<undefined | null | AccountWithTotpSecret>
  • Parameters

    • token: string

    Returns Promise<undefined | null | AccountWithTotpSecret>