Skip to main content
zerotal

Documentation


Documentation / zerotal / auth / TwoFactorOptions

Interface: TwoFactorOptions

Defined in: packages/auth/src/TwoFactorService.ts:163

Properties

issuer?

optional issuer?: string

Defined in: packages/auth/src/TwoFactorService.ts:165

Issuer shown in the authenticator app (e.g. your app name). Default: 'Zerotal'.


window?

optional window?: number

Defined in: packages/auth/src/TwoFactorService.ts:167

TOTP window: number of periods to check on each side of current time. Default: 1.


recoveryCodeCount?

optional recoveryCodeCount?: number

Defined in: packages/auth/src/TwoFactorService.ts:169

Number of recovery codes to generate. Default: 8.