Package com.yubico.webauthn.data
Class AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
java.lang.Object
com.yubico.webauthn.data.AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
- Enclosing class:
- AuthenticatorSelectionCriteria
public static class AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionauthenticatorAttachment
(@NonNull Optional<AuthenticatorAttachment> authenticatorAttachment) If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment).authenticatorAttachment
(AuthenticatorAttachment authenticatorAttachment) If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment).build()
residentKey
(ResidentKeyRequirement residentKey) Specifies the extent to which the Relying Party desires to create a client-side discoverable credential.toString()
userVerification
(UserVerificationRequirement userVerification) Describes the Relying Party's requirements regarding user verification for thenavigator.credentials.create()
operation.
-
Method Details
-
authenticatorAttachment
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder authenticatorAttachment(@NonNull @NonNull Optional<AuthenticatorAttachment> authenticatorAttachment) If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment). -
authenticatorAttachment
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder authenticatorAttachment(AuthenticatorAttachment authenticatorAttachment) If present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment). -
residentKey
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder residentKey(ResidentKeyRequirement residentKey) Specifies the extent to which the Relying Party desires to create a client-side discoverable credential. For historical reasons the naming retains the deprecated “resident” terminology.By default, this is not set. When not set, the default in the browser is
ResidentKeyRequirement.DISCOURAGED
. -
userVerification
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder userVerification(UserVerificationRequirement userVerification) 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
. -
build
-
toString
-