iya-sts
    Preparing search index...
    verifyTotp: (username: any, code: any, opts?: any) => any = ...

    Type Declaration

      • (username: any, code: any, opts?: any): any
      • Verifies a one-time code, spending the step on the entry only; not cluster-safe, and nothing in the service calls it any more.

        Parameters

        • username: any

          the person

        • code: any

          the code

        • Optionalopts: any

          handed to the TOTP verifier

        Returns any

        { ok: true, counter, drift }, or a refusal