public final class PublicKeyCredentialRequestOptions
extends java.lang.Object
Its `challenge` member must be present, while its other members are optional.
Modifier and Type | Class and Description |
---|---|
static class |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
Modifier and Type | Method and Description |
---|---|
static PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder.MandatoryStages |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>> |
getAllowCredentials()
A list of
PublicKeyCredentialDescriptor objects representing public key credentials acceptable to the
caller, in descending order of the caller’s preference (the first item in the list is the most preferred
credential, and so on down the list). |
@NonNull ByteArray |
getChallenge()
A challenge that the selected authenticator signs, along with other data, when producing an authentication
assertion.
|
@NonNull AssertionExtensionInputs |
getExtensions()
Additional parameters requesting additional processing by the client and authenticator.
|
@NonNull java.util.Optional<java.lang.String> |
getRpId()
Specifies the relying party identifier claimed by the caller.
|
@NonNull java.util.Optional<java.lang.Long> |
getTimeout()
Specifies a time, in milliseconds, that the caller is willing to wait for the call to complete.
|
@NonNull UserVerificationRequirement |
getUserVerification()
Describes the Relying Party's requirements regarding user
verification for the
navigator.credentials.get() operation. |
int |
hashCode() |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
toBuilder() |
java.lang.String |
toString() |
public static PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder.MandatoryStages builder()
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder toBuilder()
@NonNull public @NonNull ByteArray getChallenge()
@NonNull public @NonNull java.util.Optional<java.lang.Long> getTimeout()
This is treated as a hint, and MAY be overridden by the client.
@NonNull public @NonNull java.util.Optional<java.lang.String> getRpId()
If omitted, its value will be set by the client.
@NonNull public @NonNull java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>> getAllowCredentials()
PublicKeyCredentialDescriptor
objects representing public key credentials acceptable to the
caller, in descending order of the caller’s preference (the first item in the list is the most preferred
credential, and so on down the list).@NonNull public @NonNull UserVerificationRequirement getUserVerification()
navigator.credentials.get()
operation.
Eligible authenticators are filtered to only those capable of satisfying this requirement.
@NonNull public @NonNull AssertionExtensionInputs getExtensions()
For example, if transaction confirmation is sought from the user, then the prompt string might be included as an extension.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object