Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Authenticator

Authenticator of specific user.

Hierarchy

  • Authenticator

Index

Constructors

constructor

  • Returns Authenticator

  • Parameters

    Returns Authenticator

Methods

getAlgorithm

  • getAlgorithm(): string
  • Returns string

getAuthAttempts

  • getAuthAttempts(): number
  • Returns number

getCounter

  • getCounter(): number
  • Returns number

getIdentifier

  • getIdentifier(): string
  • Returns string

getKey

  • getKey(): string
  • Returns string

getPeriod

  • getPeriod(): number
  • Returns number

setAlgorithm

  • Parameters

    • algorithm: string

    Returns Authenticator

setAuthAttempts

  • Parameters

    • authAttempts: number

    Returns Authenticator

setCounter

  • Parameters

    • counter: number

    Returns Authenticator

setIdentifier

  • Parameters

    • identifier: string

    Returns Authenticator

setKey

  • Parameters

    • key: string

    Returns Authenticator

setPeriod

  • Parameters

    • period: number

    Returns Authenticator

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc