Class AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
java.lang.Object
org.springframework.security.web.webauthn.api.AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
- Enclosing class:
- AuthenticatorAttestationResponse
public static final class AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
extends Object
Builds
AuthenticatorAssertionResponse.- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionattestationObject(Bytes attestationObject) Sets theAuthenticatorAttestationResponse.getAttestationObject()property.build()Builds aAuthenticatorAssertionResponse.clientDataJSON(Bytes clientDataJSON) Sets theAuthenticatorResponse.getClientDataJSON()property.transports(List<AuthenticatorTransport> transports) Sets theAuthenticatorAttestationResponse.getTransports()property.transports(AuthenticatorTransport... transports) Sets theAuthenticatorAttestationResponse.getTransports()property.
-
Method Details
-
attestationObject
public AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder attestationObject(Bytes attestationObject) Sets theAuthenticatorAttestationResponse.getAttestationObject()property.- Parameters:
attestationObject- the attestation object.- Returns:
- the
AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
-
transports
public AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder transports(AuthenticatorTransport... transports) Sets theAuthenticatorAttestationResponse.getTransports()property.- Parameters:
transports- the transports- Returns:
- the
AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
-
transports
public AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder transports(List<AuthenticatorTransport> transports) Sets theAuthenticatorAttestationResponse.getTransports()property.- Parameters:
transports- the transports- Returns:
- the
AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
-
clientDataJSON
public AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder clientDataJSON(Bytes clientDataJSON) Sets theAuthenticatorResponse.getClientDataJSON()property.- Parameters:
clientDataJSON- the client data JSON.- Returns:
- the
AuthenticatorAttestationResponse.AuthenticatorAttestationResponseBuilder
-
build
Builds aAuthenticatorAssertionResponse.
-