iya-sts
    Preparing search index...

    Variable verifyTotpAsync

    verifyTotpAsync: (username: any, code: any, opts?: any) => Promise<any> = ...

    Type Declaration

      • (username: any, code: any, opts?: any): Promise<any>
      • 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.

        Parameters

        • username: any

          the person

        • code: any

          the code

        • Optionalopts: any

          handed to the verifier

        Returns Promise<any>

        a promise of { ok: true, kind, counter, drift, hardware }, or a refusal