@accounts/mfa

@accounts/mfaGlobals

Index

Enumerations

Classes

Interfaces

Object literals

Object literals

Const defaultOptions

defaultOptions: object

Defined in accounts-mfa.ts:42

errors

errors: ErrorMessages

Defined in accounts-mfa.ts:43

expiresIn

expiresIn: string | number = '5m' as string | number

Defined in accounts-mfa.ts:44


Const errors

errors: object

Defined in errors.ts:3

authenticatorNotActive

authenticatorNotActive: string = "Authenticator is not active"

Defined in errors.ts:7

authenticatorNotFound

authenticatorNotFound: string = "Authenticator not found"

Defined in errors.ts:6

invalidAuthenticatorId

invalidAuthenticatorId: string = "Invalid authenticator id"

Defined in errors.ts:5

invalidMfaToken

invalidMfaToken: string = "Invalid mfa token"

Defined in errors.ts:4

authenticationFailed

authenticationFailed(factorName: string): string

Defined in errors.ts:9

Parameters:

NameType
factorNamestring

Returns: string

factorNotFound

factorNotFound(factorName: string): string

Defined in errors.ts:8

Parameters:

NameType
factorNamestring

Returns: string