Table of Contents

Class AuthenticateResponse

Namespace
Yubico.YubiKey.U2f.Commands
Assembly
Yubico.YubiKey.dll

The response to the U2F Authenticate command.

public sealed class AuthenticateResponse : U2fResponse, IYubiKeyResponseWithData<AuthenticationData>, IYubiKeyResponse
Inheritance
object
AuthenticateResponse
Implements
Inherited Members

Remarks

This is the partner response class to AuthenticateCommand.

Constructors

AuthenticateResponse(ResponseApdu)

Constructs an AuthenticateResponse from the given ResponseApdu.

public AuthenticateResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The response to a AuthenticateCommand.

Methods

GetData()

Gets the authentication data from the response.

public AuthenticationData GetData()

Returns

AuthenticationData

The data in the response APDU, presented as an AuthenticationData object.

Exceptions

InvalidOperationException

Thrown when Status is not Success.