Class RelyingPartyAuthenticationRequest
java.lang.Object
org.springframework.security.web.webauthn.management.RelyingPartyAuthenticationRequest
The data object used to provide the information necessary to authenticate a user with
WebAuthn.
- Since:
- 6.4
- See Also:
-
Constructor Summary
ConstructorDescriptionRelyingPartyAuthenticationRequest
(PublicKeyCredentialRequestOptions requestOptions, PublicKeyCredential<AuthenticatorAssertionResponse> publicKey) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the public key.Ges the request options.
-
Constructor Details
-
RelyingPartyAuthenticationRequest
public RelyingPartyAuthenticationRequest(PublicKeyCredentialRequestOptions requestOptions, PublicKeyCredential<AuthenticatorAssertionResponse> publicKey) Creates a new instance.- Parameters:
requestOptions
- thePublicKeyCredentialRequestOptions
publicKey
- thePublicKeyCredential
-
-
Method Details
-
getRequestOptions
Ges the request options.- Returns:
- the request options.
-
getPublicKey
Gets the public key.- Returns:
- the public key.
-