DWS Packages
    Preparing search index...

    Interface TOTPAuthUrlParams

    Parameters for a time-based (TOTP) provisioning URI.

    interface TOTPAuthUrlParams {
        accountName: string;
        algorithm?: OTPAlgorithm;
        digits?: number;
        issuer: string;
        period?: number;
        secret: string;
        type: "totp";
    }

    Hierarchy

    • BaseOtpauthUrlParams
      • TOTPAuthUrlParams
    Index

    Properties

    accountName: string

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

    algorithm?: OTPAlgorithm

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

    digits?: number

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

    issuer: string

    The issuer / service name displayed by the authenticator app.

    period?: number

    Time step duration in seconds (default: 30).

    secret: string

    The base32-encoded shared secret.

    type: "totp"