public static class PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder.MandatoryStages |
Modifier and Type | Method and Description |
---|---|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
allowCredentials(@NonNull java.util.List<PublicKeyCredentialDescriptor> allowCredentials)
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). |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
allowCredentials(@NonNull java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>> allowCredentials)
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). |
PublicKeyCredentialRequestOptions |
build() |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
challenge(@NonNull ByteArray challenge)
A challenge that the selected authenticator signs, along with other data, when producing an authentication
assertion.
|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
extensions(@NonNull AssertionExtensionInputs extensions)
Additional parameters requesting additional processing by the client and authenticator.
|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
rpId(@NonNull java.util.Optional<java.lang.String> rpId)
Specifies the relying party identifier claimed by the caller.
|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
rpId(@NonNull java.lang.String rpId)
Specifies the relying party identifier claimed by the caller.
|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
timeout(long timeout)
Specifies a time, in milliseconds, that the caller is willing to wait for the call to complete.
|
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
timeout(@NonNull java.util.Optional<java.lang.Long> timeout)
Specifies a time, in milliseconds, that the caller is willing to wait for the call to complete.
|
java.lang.String |
toString() |
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder |
userVerification(@NonNull UserVerificationRequirement userVerification)
Describes the Relying Party's requirements regarding user
verification for the
navigator.credentials.get() operation. |
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder timeout(@NonNull @NonNull java.util.Optional<java.lang.Long> timeout)
This is treated as a hint, and MAY be overridden by the client.
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder timeout(long timeout)
This is treated as a hint, and MAY be overridden by the client.
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder rpId(@NonNull @NonNull java.util.Optional<java.lang.String> rpId)
If omitted, its value will be set by the client.
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder rpId(@NonNull @NonNull java.lang.String rpId)
If omitted, its value will be set by the client.
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder allowCredentials(@NonNull @NonNull java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>> allowCredentials)
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).public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder allowCredentials(@NonNull @NonNull java.util.List<PublicKeyCredentialDescriptor> allowCredentials)
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).public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder challenge(@NonNull @NonNull ByteArray challenge)
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder userVerification(@NonNull @NonNull UserVerificationRequirement userVerification)
navigator.credentials.get()
operation.
Eligible authenticators are filtered to only those capable of satisfying this requirement.
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder extensions(@NonNull @NonNull AssertionExtensionInputs extensions)
For example, if transaction confirmation is sought from the user, then the prompt string might be included as an extension.
public PublicKeyCredentialRequestOptions build()
public java.lang.String toString()
toString
in class java.lang.Object