QCodeFactorOptions
@quik/mfa / QCodeFactorOptions
Type Alias: QCodeFactorOptions
QCodeFactorOptions =
object
Defined in: mfa/src/factors/QCodeFactor.ts:16
Options used to configure a code-based MFA factor.
Properties
deliver
deliver:
CodeDeliveryFn
Defined in: mfa/src/factors/QCodeFactor.ts:26
Delivery callback that sends the code to the user.
length?
optionallength?:number
Defined in: mfa/src/factors/QCodeFactor.ts:20
Code length in digits.
maxAttempts?
optionalmaxAttempts?:number
Defined in: mfa/src/factors/QCodeFactor.ts:24
Default maximum attempts.
method
method:
string
Defined in: mfa/src/factors/QCodeFactor.ts:18
Method key used to register the factor.
ttlMs?
optionalttlMs?:number
Defined in: mfa/src/factors/QCodeFactor.ts:22
Default challenge TTL in milliseconds.