DWS Packages
    Preparing search index...

    Interface HOTPAuthUrlParams

    Parameters for a counter-based (HOTP) provisioning URI.

    interface HOTPAuthUrlParams {
        accountName: string;
        algorithm?: OTPAlgorithm;
        counter: number;
        digits?: number;
        issuer: string;
        secret: string;
        type: "hotp";
    }

    Hierarchy

    • BaseOtpauthUrlParams
      • HOTPAuthUrlParams
    Index

    Properties

    accountName: string

    The account the credential belongs to (e.g. an email address).

    algorithm?: OTPAlgorithm

    HMAC algorithm to advertise (default: 'SHA-1').

    counter: number

    The initial counter value.

    digits?: number

    Number of digits in the generated code (default: 6).

    issuer: string

    The issuer / service name displayed by the authenticator app.

    secret: string

    The base32-encoded shared secret.

    type: "hotp"