API Reference
Class
OtpAuthPayload
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
- Method OtpAuthParser.Parse
- Property OtpAuthParseResult.Payload
- Property Otp.Payload
Accepted by parameters
- Method OtpAuthParser.TryParse
- Method OtpAuthParser.TryParse
- Method OtpQrDecoder.TryDecode
- Method OtpQrDecoder.TryDecode
- Method OtpQrDecoder.TryDecodeStrict
- Method OtpQrDecoder.TryDecodeStrict
- Method OtpQrDecoder.TryDecodeStrict
- Method OtpQrDecoder.TryDecodeStrict
- Constructor Otp.Otp
- Method Otp.Deconstruct
Inherited Methods
Properties
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.