iya-sts
    Preparing search index...

    Variable codeAt

    codeAt: (
        secret: unknown,
        counter: number,
        opts?: { algorithm?: string; digits?: string | number },
    ) => string = ...

    Type Declaration

      • (
            secret: unknown,
            counter: number,
            opts?: { algorithm?: string; digits?: string | number },
        ): string
      • The code for a secret at a counter; used by an enrolment confirmation and the tests, never to answer a request.

        Parameters

        • secret: unknown

          the base32 secret

        • counter: number

          the counter

        • Optionalopts: { algorithm?: string; digits?: string | number }

          digits, algorithm

        Returns string

        the code