Class AuthenticatorAssertionResponse
java.lang.Object
org.springframework.security.web.webauthn.api.AuthenticatorResponse
org.springframework.security.web.webauthn.api.AuthenticatorAssertionResponse
The AuthenticatorAssertionResponse
interface represents an
authenticator's response
to a client's request for generation of a new
authentication
assertion given the
WebAuthn Relying
Party's challenge and OPTIONAL list of credentials it is aware of. This response
contains a cryptographic signature proving possession of the
credential private
key, and optionally evidence of
user consent to a specific
transaction.
- Since:
- 6.4
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The attestationObject is an OPTIONAL attribute contains an attestation object, if the authenticator supports attestation in assertions.The authenticatorData contains the authenticator data returned by the authenticator.The signature contains the raw signature returned from the authenticator.The userHandle is the user handle which is returned from the authenticator, or null if the authenticator did not return a user handle.Methods inherited from class org.springframework.security.web.webauthn.api.AuthenticatorResponse
getClientDataJSON
-
Method Details
-
getAuthenticatorData
The authenticatorData contains the authenticator data returned by the authenticator. See 6.1 Authenticator Data..- Returns:
- the
authenticatorData
-
getSignature
The signature contains the raw signature returned from the authenticator. See 6.3.3 The authenticatorGetAssertion Operation.- Returns:
- the
signature
-
getUserHandle
The userHandle is the user handle which is returned from the authenticator, or null if the authenticator did not return a user handle. See 6.3.3 The authenticatorGetAssertion Operation. The authenticator MUST always return a user handle if the allowCredentials option used in the authentication ceremony is empty, and MAY return one otherwise.- Returns:
- the user handle
-
getAttestationObject
The attestationObject is an OPTIONAL attribute contains an attestation object, if the authenticator supports attestation in assertions.- Returns:
- the
attestationObject
-
builder
-