• Generate a Google Authenticator-friendly URL for setting up TOTP authentication.

    https://github.com/google/google-authenticator/wiki/Key-Uri-Format

    Parameters

    • __namedParameters: {
          issuer: string;
          name: string;
          secret: string;
      }
      • issuer: string

        Issuer: probably the company that produces the application.

      • name: string

        Application name: will be shown in the TOTP app.

      • secret: string

        Secret: the string that will seed this TOTP.

    Returns string

Generated using TypeDoc