Class ImmutableRelyingPartyRegistrationRequest
java.lang.Object
org.springframework.security.web.webauthn.management.ImmutableRelyingPartyRegistrationRequest
- All Implemented Interfaces:
RelyingPartyRegistrationRequest
public class ImmutableRelyingPartyRegistrationRequest
extends Object
implements RelyingPartyRegistrationRequest
Contains the information necessary to register a new Credential.
- Since:
- 6.4
- See Also:
-
Constructor Summary
ConstructorDescriptionImmutableRelyingPartyRegistrationRequest
(PublicKeyCredentialCreationOptions options, RelyingPartyPublicKey publicKey) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ImmutableRelyingPartyRegistrationRequest
public ImmutableRelyingPartyRegistrationRequest(PublicKeyCredentialCreationOptions options, RelyingPartyPublicKey publicKey) Creates a new instance.- Parameters:
options
- thePublicKeyCredentialCreationOptions
that were saved whenWebAuthnRelyingPartyOperations.createCredentialRequestOptions(PublicKeyCredentialRequestOptionsRequest)
was called.publicKey
- this is submitted by the client and if validated stored.
-
-
Method Details
-
getCreationOptions
- Specified by:
getCreationOptions
in interfaceRelyingPartyRegistrationRequest
-
getPublicKey
- Specified by:
getPublicKey
in interfaceRelyingPartyRegistrationRequest
-