iya-sts
    Preparing search index...

    Variable otpauthUri

    otpauthUri: (
        spec: {
            account?: string;
            counter?: string | number;
            digits?: string | number;
            issuer?: string;
            secret?: string;
        },
    ) => string = ...

    Type Declaration

      • (
            spec: {
                account?: string;
                counter?: string | number;
                digits?: string | number;
                issuer?: string;
                secret?: string;
            },
        ): string
      • Builds the otpauth://hotp/ URI.

        Parameters

        • spec: {
              account?: string;
              counter?: string | number;
              digits?: string | number;
              issuer?: string;
              secret?: string;
          }

          { issuer, account, secret, digits, counter }

        Returns string

        the URI