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 and spends its step across the cluster: a step at or below the highest any node accepted is refused.

        A store that cannot be asked refuses (STS-AUTHN-0182).

        Parameters

        • username: any

          the person

        • code: any

          the code

        • Optionalopts: any

          handed to the TOTP verifier

        Returns Promise<any>

        a promise of { ok: true, … }, or a refusal (replay, store)