basalt / auth/src / verifyTotp
Function: verifyTotp()
> verifyTotp(secret, token, options?): boolean
Defined in: auth/src/totp.ts:114
True when token matches the TOTP within the allowed time window (constant-time).
Parameters
secret
string
token
string
options?
VerifyTotpOptions = {}
Returns
boolean