Class PublicKeyCredentialRequestOptions
-
- All Implemented Interfaces:
@Serializable() public final class PublicKeyCredentialRequestOptions
Represents the options for requesting a public key credential during a WebAuthn assertion operation.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
rpId
private final Integer
timeout
private final String
challenge
private final ArrayList<PublicKeyCredentialDescriptor>
allowCredentials
private final Map<String, JsonObject>
extensions
private final String
userVerification
private final String
status
private final String
errorMessage
-
Method Summary
Modifier and Type Method Description final String
getRpId()
The relying party identifier associated with the request. final Integer
getTimeout()
The timeout value in milliseconds for the assertion operation. final String
getChallenge()
The challenge used during the assertion process. final ArrayList<PublicKeyCredentialDescriptor>
getAllowCredentials()
The list of allowed credentials for the assertion operation. final Map<String, JsonObject>
getExtensions()
Additional client-specific extensions for the assertion operation. final String
getUserVerification()
The preference for user verification during the assertion operation. final String
getStatus()
The status of the assertion operation. final String
getErrorMessage()
An error message indicating any errors that occurred during the assertion operation. -
-
Method Detail
-
getTimeout
final Integer getTimeout()
The timeout value in milliseconds for the assertion operation.
-
getChallenge
final String getChallenge()
The challenge used during the assertion process.
-
getAllowCredentials
final ArrayList<PublicKeyCredentialDescriptor> getAllowCredentials()
The list of allowed credentials for the assertion operation. Defaults to an empty list.
-
getExtensions
final Map<String, JsonObject> getExtensions()
Additional client-specific extensions for the assertion operation. Defaults to null.
-
getUserVerification
final String getUserVerification()
The preference for user verification during the assertion operation.
-
getErrorMessage
final String getErrorMessage()
An error message indicating any errors that occurred during the assertion operation.
-
-
-
-