basalt / auth/src / VerifyTotpOptions
Interface: VerifyTotpOptions
Defined in: auth/src/totp.ts:80
Extends
Properties
digits?
> optional digits?: number
Defined in: auth/src/totp.ts:50
Code length. Default 6.
Inherited from
now?
> optional now?: number
Defined in: auth/src/totp.ts:52
Milliseconds since epoch. Default Date.now().
Inherited from
period?
> optional period?: number
Defined in: auth/src/totp.ts:48
Seconds per code. Default 30.
Inherited from
window?
> optional window?: number
Defined in: auth/src/totp.ts:82
Accept codes ±window steps to absorb clock drift. Default 1.