Skip to main content

QCodeFactorOptions

@quik/mfa


@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?​

optional length?: number

Defined in: mfa/src/factors/QCodeFactor.ts:20

Code length in digits.


maxAttempts?​

optional maxAttempts?: 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?​

optional ttlMs?: number

Defined in: mfa/src/factors/QCodeFactor.ts:22

Default challenge TTL in milliseconds.