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 theAuthenticatorResponse
interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ByteArray
getAuthenticatorData()
The authenticator data returned by the authenticator.CollectedClientData
getClientData()
getClientDataJSON()
parsed as a domain object.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()
.default AuthenticatorData
getParsedAuthenticatorData()
getAuthenticatorData()
parsed as a domain object.
-
-
-
Method Detail
-
getAuthenticatorData
ByteArray getAuthenticatorData()
The authenticator data returned by the authenticator. See §6.1 Authenticator Data.
-
getParsedAuthenticatorData
default AuthenticatorData 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.
-
-