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 Summary
Modifier and TypeClassDescriptionstatic final class
Used to buildPublicKeyCredentialCreationOptions
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a newPublicKeyCredentialCreationOptions
The 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
-
getRp
The rp property contains data about the Relying Party responsible for the request.- Returns:
- the relying party
-
getUser
The user contains names and an identifier for the user account performing the registration.- Returns:
- the user
-
getChallenge
The 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
-
getPubKeyCredParams
The 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
-
getTimeout
The timeout property specifies a time, in milliseconds, that the Relying Party is willing to wait for the call to complete.- Returns:
- the timeout
-
getExcludeCredentials
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).- Returns:
- exclude credentials
-
getAuthenticatorSelection
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).- Returns:
- the authenticatorSelection
-
getAttestation
The attestation property is an OPTIONAL member used by the Relying Party to specify a preference regarding attestation conveyance.- Returns:
- the attestation preference
-
getExtensions
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.- Returns:
- the extensions
-
builder
public static PublicKeyCredentialCreationOptions.PublicKeyCredentialCreationOptionsBuilder builder()Creates a newPublicKeyCredentialCreationOptions
- Returns:
- a new
PublicKeyCredentialCreationOptions
-