Class PublicKeyCredentialRequestOptions
java.lang.Object
org.springframework.security.web.webauthn.api.PublicKeyCredentialRequestOptions
PublicKeyCredentialRequestOptions
contains the information to create an assertion used for authentication.
- Since:
- 6.4
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Used to build aPublicKeyCredentialCreationOptions
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The allowCredentials property is an OPTIONAL member is used by the client to find authenticators eligible for this authentication ceremony.The challenge property specifies a challenge that the authenticator signs, along with other data, when producing an authentication assertion.The extensions is an OPTIONAL property used by the Relying Party to provide client extension inputs requesting additional processing by the client and authenticator.getRpId()
The rpId is an OPTIONAL member specifies the RP ID claimed by the Relying Party.The timeout property is an OPTIONAL member specifies a time, in milliseconds, that the Relying Party is willing to wait for the call to complete.The userVerification property is an OPTIONAL member specifies the Relying Party's requirements regarding user verification for the get() operation.
-
Method Details
-
getChallenge
The challenge property specifies a challenge that the authenticator signs, along with other data, when producing an authentication assertion.- Returns:
- the challenge
-
getTimeout
The timeout property is an OPTIONAL member specifies a time, in milliseconds, that the Relying Party is willing to wait for the call to complete.- Returns:
- the timeout
-
getRpId
The rpId is an OPTIONAL member specifies the RP ID claimed by the Relying Party. The client MUST verify that the Relying Party's origin matches the scope of this RP ID.- Returns:
- the relying party id
-
getAllowCredentials
The allowCredentials property is an OPTIONAL member is used by the client to find authenticators eligible for this authentication ceremony.- Returns:
- the allowCredentials property
-
getUserVerification
The userVerification property is an OPTIONAL member specifies the Relying Party's requirements regarding user verification for the get() operation.- Returns:
- the user verification
-
getExtensions
The extensions is an OPTIONAL property used by the Relying Party to provide client extension inputs requesting additional processing by the client and authenticator.- Returns:
- the extensions
-
builder
-