GetData Method
GetData()
Gets the dictionary of Credential and Code pair.
C#
public IDictionary<Credential, Code> GetData()
Returns
Returns name + response for TOTP and just name for HOTP and credentials requiring touch.
Implements
Exceptions
Type | Condition |
---|---|
System.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. |