verifyTotpAsync: (username: any, code: any, opts?: any) => Promise<any> = ...
Type Declaration
-
- (username: any, code: any, opts?: any): Promise<any>
-
Parameters
- username: any
- code: any
Optionalopts: any
Returns Promise<any>
a promise of { ok: true, kind, counter, drift, hardware },
or a refusal
Verifies "a one-time code" at every door that takes one: the authenticator app's (RFC 6238) or the HOTP token's (RFC 4226), by what the person holds (section header). Each is spent across the cluster.