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 java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
authenticatorAttachment
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder authenticatorAttachment(@NonNull @NonNull java.util.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).
-
requireResidentKey
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder requireResidentKey(boolean requireResidentKey)
Describes the Relying Party's requirements regarding resident credentials. If set totrue
, the authenticator MUST create a client-side-resident public key credential source when creating a public key credential.
-
userVerification
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder userVerification(@NonNull @NonNull 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.
-
build
public AuthenticatorSelectionCriteria build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-