TotpOptions
Interface: TotpOptions
Defined in: packages/core/src/utils/totp.ts:4
Options controlling HOTP and TOTP generation
Properties
algorithm?
optionalalgorithm?:"sha1"|"sha256"|"sha512"
Defined in: packages/core/src/utils/totp.ts:10
HMAC hash algorithm (default "sha1")
digits?
optionaldigits?:6|8
Defined in: packages/core/src/utils/totp.ts:6
Number of digits (6 or 8, default 6)
period?
optionalperiod?:number
Defined in: packages/core/src/utils/totp.ts:8
Time step in seconds (default 30)