Skip to content

basalt / auth/src / TotpOptions

Interface: TotpOptions ​

Defined in: auth/src/totp.ts:46

Extended by ​

Properties ​

digits? ​

> optional digits?: number

Defined in: auth/src/totp.ts:50

Code length. Default 6.


now? ​

> optional now?: number

Defined in: auth/src/totp.ts:52

Milliseconds since epoch. Default Date.now().


period? ​

> optional period?: number

Defined in: auth/src/totp.ts:48

Seconds per code. Default 30.

Released under the MIT License.