Package com.yubico.webauthn.data
Interface AuthenticatorResponse
- All Known Implementing Classes:
AuthenticatorAssertionResponse,AuthenticatorAttestationResponse
public interface AuthenticatorResponse
Authenticators respond to Relying Party requests by returning an object derived from the
AuthenticatorResponse interface.-
Method Summary
Modifier and TypeMethodDescriptionThe authenticator data returned by the authenticator.getClientDataJSON()parsed as a domain object.The JSON-serialized client data (see §5.10.1 Client Data Used in WebAuthn Signatures (dictionaryCollectedClientData)) passed to the authenticator by the client in the call to eithernavigator.credentials.create()ornavigator.credentials.get().default AuthenticatorDatagetAuthenticatorData()parsed as a domain object.
-
Method Details
-
getAuthenticatorData
ByteArray getAuthenticatorData()The authenticator data returned by the authenticator. See §6.1 Authenticator Data. -
getParsedAuthenticatorData
getAuthenticatorData()parsed as a domain object. -
getClientDataJSON
ByteArray getClientDataJSON()The JSON-serialized client data (see §5.10.1 Client Data Used in WebAuthn Signatures (dictionaryCollectedClientData)) passed to the authenticator by the client in the call to eithernavigator.credentials.create()ornavigator.credentials.get(). The exact JSON serialization MUST be preserved, as the hash of the serialized client data has been computed over it. -
getClientData
CollectedClientData getClientData()getClientDataJSON()parsed as a domain object.
-