Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccountModel

Model which represents user account. It is managed by AccountRepository.

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

username

username: string