public final class AuthenticatorSelectionCriteria
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder |
builder() |
boolean |
equals(java.lang.Object o) |
java.util.Optional<AuthenticatorAttachment> |
getAuthenticatorAttachment()
If present, eligible authenticators are filtered to only authenticators attached with the
specified §5.4.5
Authenticator Attachment Enumeration (enum AuthenticatorAttachment).
|
java.util.Optional<ResidentKeyRequirement> |
getResidentKey()
Specifies the extent to which the Relying Party desires to create a client-side discoverable
credential.
|
java.util.Optional<UserVerificationRequirement> |
getUserVerification()
Describes the Relying Party's requirements regarding user
verification for the
navigator.credentials.create() operation. |
int |
hashCode() |
AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder |
toBuilder() |
java.lang.String |
toString() |
public java.util.Optional<AuthenticatorAttachment> getAuthenticatorAttachment()
public java.util.Optional<ResidentKeyRequirement> getResidentKey()
By default, this is not set. When not set, the default in the browser is ResidentKeyRequirement.DISCOURAGED.
When this is set, PublicKeyCredentialCreationOptions.toCredentialsCreateJson() will
also emit a
requireResidentKey member for backwards compatibility with WebAuthn Level 1.
It will be set to true if this is set to REQUIRED and false if this is set to anything else. When this is not set, a
requireResidentKey member will not be emitted.
public java.util.Optional<UserVerificationRequirement> getUserVerification()
navigator.credentials.create() operation. Eligible
authenticators are filtered to only those capable of satisfying this requirement.
By default, this is not set. When not set, the default in the browser is UserVerificationRequirement.PREFERRED.
public static AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder builder()
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder toBuilder()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object