Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FailedAuthenticationAttemptsSessionRedisRepository

Hierarchy

  • FailedAuthenticationAttemptsSessionRedisRepository

Implements

  • FailedAuthAttemptSessionRepository

Constructors

Methods

Constructors

constructor

Methods

delete

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

    • username: string

    Returns Promise<void>

read

  • read(username: string): Promise<undefined | null | FailedAuthenticationAttemptSession>
  • Parameters

    • username: string

    Returns Promise<undefined | null | FailedAuthenticationAttemptSession>

upsert

  • upsert(username: string, session: FailedAuthenticationAttemptSession, ttl: number): Promise<void>
  • Parameters

    • username: string
    • session: FailedAuthenticationAttemptSession
    • ttl: number

    Returns Promise<void>