Search Results for

    Show / Hide Table of Contents

    TOtpUri Class

    Utility class to handle OTP URI creation.

    Syntax

    Unit: Sphinx.Otp

    TOtpUri = class(TObject);

    Constructors

    Name Description
    Create Initializes a new instance of the TOtpUri class.

    Methods

    Name Description
    Build Builds an OTP URI string from the provided parameters.
    ToString Returns the OTP URI as a string.

    Properties

    Name Description
    OtpType Gets or sets the type of OTP (HOTP or TOTP). Default is TOTP.
    Secret Gets or sets the secret key, base-32 encoded.
    AccountName Gets or sets the account name.
    Issuer Gets or sets the issuer name.
    Algorithm Gets or sets the hash algorithm.
    Digits Gets or sets the number of digits in the OTP.
    Period Gets or sets the period for TOTP.
    Counter Gets or sets the counter for HOTP.
    In This Article
    Back to top TMS Sphinx v1.15
    © 2021 - 2025 tmssoftware.com