Package com.yubico.webauthn.data
Class AuthenticatorSelectionCriteria
java.lang.Object
com.yubico.webauthn.data.AuthenticatorSelectionCriteria
This class may be used to specify requirements regarding authenticator attributes.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment).Specifies the extent to which the Relying Party desires to create a client-side discoverable credential (passkey).Describes the Relying Party's requirements regarding user verification for thenavigator.credentials.create()
operation.int
hashCode()
toString()
-
Method Details
-
getAuthenticatorAttachment
If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment). -
getResidentKey
Specifies the extent to which the Relying Party desires to create a client-side discoverable credential (passkey). For historical reasons the naming retains the deprecated “resident” terminology.When this is set,
PublicKeyCredentialCreationOptions.toCredentialsCreateJson()
will also emit arequireResidentKey
member for backwards compatibility with WebAuthn Level 1. It will be set totrue
if this is set toREQUIRED
andfalse
if this is set to anything else. When this is not set, arequireResidentKey
member will not be emitted.When not set, the default in the browser is
ResidentKeyRequirement.DISCOURAGED
.By default, this is not set.
-
getUserVerification
Describes the Relying Party's requirements regarding user verification for thenavigator.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
. -
builder
-
toBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-