Description

Entity for a onetime token. This is used for two factor authentication and other single-use token based authentication.

Hierarchy

  • BaseMongoEntity
    • OnetimeTokenEntity

Constructors

Properties

_id: ObjectId
createdAt: Date
delFlg: 0 | 1
id: string
invalid: boolean

Description

If the token is invalid. Invalid tokens cannot be used for authentication.

token: string

Description

The token body

updatedAt: Date

Generated using TypeDoc