Class PublicKeyCredentialCreationOptions
java.lang.Object
org.springframework.security.web.webauthn.api.PublicKeyCredentialCreationOptions
Represents the PublicKeyCredentialCreationOptions
 which is an argument to creating
 a new credential.
- Since:
- 6.4
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classUsed to buildPublicKeyCredentialCreationOptions.
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Creates a newPublicKeyCredentialCreationOptionsThe attestation property is an OPTIONAL member used by the Relying Party to specify a preference regarding attestation conveyance.The authenticatorSelection property is an OPTIONAL member used by the Relying Party to list any existing credentials mapped to this user account (as identified by user.id).The challenge specifies the challenge that the authenticator signs, along with other data, when producing an attestation object for the newly created credential.The excludeCredentials property is the OPTIONAL member used by the Relying Party to list any existing credentials mapped to this user account (as identified by user.id).The extensions property is an OPTIONAL member used by the Relying Party to provide client extension inputs requesting additional processing by the client and authenticator.The publicKeyCredParams params lisst the key types and signature algorithms the Relying Party Supports, ordered from most preferred to least preferred.getRp()The rp property contains data about the Relying Party responsible for the request.The timeout property specifies a time, in milliseconds, that the Relying Party is willing to wait for the call to complete.getUser()The user contains names and an identifier for the user account performing the registration.
- 
Method Details- 
getRpThe rp property contains data about the Relying Party responsible for the request.- Returns:
- the relying party
 
- 
getUserThe user contains names and an identifier for the user account performing the registration.- Returns:
- the user
 
- 
getChallengeThe challenge specifies the challenge that the authenticator signs, along with other data, when producing an attestation object for the newly created credential.- Returns:
- the challenge
 
- 
getPubKeyCredParamsThe publicKeyCredParams params lisst the key types and signature algorithms the Relying Party Supports, ordered from most preferred to least preferred.- Returns:
- the public key credential parameters
 
- 
getTimeoutThe timeout property specifies a time, in milliseconds, that the Relying Party is willing to wait for the call to complete.- Returns:
- the timeout
 
- 
getExcludeCredentialsThe excludeCredentials property is the OPTIONAL member used by the Relying Party to list any existing credentials mapped to this user account (as identified by user.id).- Returns:
- exclude credentials
 
- 
getAuthenticatorSelectionThe authenticatorSelection property is an OPTIONAL member used by the Relying Party to list any existing credentials mapped to this user account (as identified by user.id).- Returns:
- the authenticatorSelection
 
- 
getAttestationThe attestation property is an OPTIONAL member used by the Relying Party to specify a preference regarding attestation conveyance.- Returns:
- the attestation preference
 
- 
getExtensionsThe extensions property is an OPTIONAL member used by the Relying Party to provide client extension inputs requesting additional processing by the client and authenticator.- Returns:
- the extensions
 
- 
builderpublic static PublicKeyCredentialCreationOptions.PublicKeyCredentialCreationOptionsBuilder builder()Creates a newPublicKeyCredentialCreationOptions- Returns:
- a new PublicKeyCredentialCreationOptions
 
 
-