Show / Hide Table of Contents

GetData Method

GetData()

Gets the dictionary of Credential and Code pair.

C#
public IDictionary<Credential, Code> GetData()

Returns

IDictionary<Credential, Code>

Returns name + response for TOTP and just name for HOTP and credentials requiring touch.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown when Status is not equal to Success or the credential's period is invalid.

MalformedYubiKeyResponseException

Thrown when the data provided does not meet the expectations, and cannot be parsed.

In this article
Back to top Generated by DocFX