Class AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
java.lang.Object
org.springframework.security.web.webauthn.api.AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
- Enclosing class:
- AuthenticatorAssertionResponse
public static final class AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
extends Object
Builds a
AuthenticatorAssertionResponse
.- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionattestationObject
(Bytes attestationObject) Set theattestationObject
propertyauthenticatorData
(Bytes authenticatorData) Set theAuthenticatorAssertionResponse.getAuthenticatorData()
propertybuild()
Builds theAuthenticatorAssertionResponse
clientDataJSON
(Bytes clientDataJSON) Set theAuthenticatorResponse.getClientDataJSON()
propertySet theAuthenticatorAssertionResponse.getSignature()
propertyuserHandle
(Bytes userHandle) Set theAuthenticatorAssertionResponse.getUserHandle()
property
-
Method Details
-
authenticatorData
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder authenticatorData(Bytes authenticatorData) Set theAuthenticatorAssertionResponse.getAuthenticatorData()
property- Parameters:
authenticatorData
- the authenticator data.- Returns:
- the
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
-
signature
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder signature(Bytes signature) Set theAuthenticatorAssertionResponse.getSignature()
property- Parameters:
signature
- the signature- Returns:
- the
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
-
userHandle
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder userHandle(Bytes userHandle) Set theAuthenticatorAssertionResponse.getUserHandle()
property- Parameters:
userHandle
- the user handle- Returns:
- the
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
-
attestationObject
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder attestationObject(Bytes attestationObject) Set theattestationObject
property- Parameters:
attestationObject
- the attestation object- Returns:
- the
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
-
clientDataJSON
public AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder clientDataJSON(Bytes clientDataJSON) Set theAuthenticatorResponse.getClientDataJSON()
property- Parameters:
clientDataJSON
- the client data JSON- Returns:
- the
AuthenticatorAssertionResponse.AuthenticatorAssertionResponseBuilder
-
build
Builds theAuthenticatorAssertionResponse
- Returns:
- the
AuthenticatorAssertionResponse
-