QTOTPFactorOptions
@quik/mfa / QTOTPFactorOptions
Type Alias: QTOTPFactorOptions
QTOTPFactorOptions =
object
Defined in: mfa/src/factors/QTOTPFactor.ts:16
Options used to configure a TOTP factor.
Properties
digits?
optionaldigits?:number
Defined in: mfa/src/factors/QTOTPFactor.ts:20
TOTP digit count.
getSecret
getSecret:
QTOTPSecretResolver
Defined in: mfa/src/factors/QTOTPFactor.ts:30
Secret resolver callback.
maxAttempts?
optionalmaxAttempts?:number
Defined in: mfa/src/factors/QTOTPFactor.ts:28
Maximum attempts for generated challenges.
method?
optionalmethod?:string
Defined in: mfa/src/factors/QTOTPFactor.ts:18
Method key used to register the factor.
stepSeconds?
optionalstepSeconds?:number
Defined in: mfa/src/factors/QTOTPFactor.ts:22
TOTP time step in seconds.
ttlMs?
optionalttlMs?:number
Defined in: mfa/src/factors/QTOTPFactor.ts:26
Challenge TTL in milliseconds.
window?
optionalwindow?:number
Defined in: mfa/src/factors/QTOTPFactor.ts:24
Accepted drift window in number of steps.