Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccountWithTotpSecret

User account which contains TOTP secret.

Hierarchy

Properties

disabledUntil

disabledUntil: number

Account availability status.
Might be enabled, disabled until activation or disabled until some timestamp.

email

email: string

id

id: string

mfa

mfa: boolean

Whether multi factor authentication is enabled for this account.

passwordAlg

passwordAlg: number

Id of the algorithm used at password hashing.

passwordHash

passwordHash: string

Optional passwordSalt

passwordSalt: null | string

Optional, might be encoded in the password hash.

Optional pubKey

pubKey: null | string

Public Key of the account.
Will be used for different encryption operations.

Optional telephone

telephone: null | string

totpSecret

totpSecret: string

Totp secret used at totp generation.

username

username: string