CodeGlyphX logo
CodeGlyphX

API Reference

Class

OtpAuthPayload

Namespace CodeGlyphX
Assembly CodeGlyphX
Modifiers sealed

Parsed contents of an otpauth:// URI.

Inheritance

  • Object
  • OtpAuthPayload

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Properties

public OtpAuthType Type { get; } #

Gets the OTP type.

public String Issuer { get; } #

Gets the issuer (may be empty).

public String Account { get; } #

Gets the account label.

public Byte[] Secret { get; } #

Gets the decoded secret bytes.

public OtpAlgorithm Algorithm { get; } #

Gets the HMAC algorithm.

public Int32 Digits { get; } #

Gets the number of digits.

public Nullable<Int32> Period { get; } #

Gets the TOTP period in seconds (null for HOTP).

public Nullable<Int64> Counter { get; } #

Gets the HOTP counter (null for TOTP).

public Boolean IsTotp { get; } #

Gets whether this payload is TOTP.

public Boolean IsHotp { get; } #

Gets whether this payload is HOTP.