Class AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
java.lang.Object
org.springframework.security.web.webauthn.api.AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
- Enclosing class:
- AuthenticatorSelectionCriteria
public static final class AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
extends Object
Creates a
AuthenticatorSelectionCriteria- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionauthenticatorAttachment(AuthenticatorAttachment authenticatorAttachment) Sets theAuthenticatorSelectionCriteria.getAuthenticatorAttachment()property.build()Builds aAuthenticatorSelectionCriteriaresidentKey(ResidentKeyRequirement residentKey) Sets theAuthenticatorSelectionCriteria.getResidentKey()property.userVerification(UserVerificationRequirement userVerification) Sets theAuthenticatorSelectionCriteria.getUserVerification()property.
-
Method Details
-
authenticatorAttachment
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder authenticatorAttachment(AuthenticatorAttachment authenticatorAttachment) Sets theAuthenticatorSelectionCriteria.getAuthenticatorAttachment()property.- Parameters:
authenticatorAttachment- the authenticator attachment- Returns:
- the
AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
-
residentKey
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder residentKey(ResidentKeyRequirement residentKey) Sets theAuthenticatorSelectionCriteria.getResidentKey()property.- Parameters:
residentKey- the resident key- Returns:
- the
AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
-
userVerification
public AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder userVerification(UserVerificationRequirement userVerification) Sets theAuthenticatorSelectionCriteria.getUserVerification()property.- Parameters:
userVerification- the user verification requirement- Returns:
- the
AuthenticatorSelectionCriteria.AuthenticatorSelectionCriteriaBuilder
-
build
Builds aAuthenticatorSelectionCriteria- Returns:
- a new
AuthenticatorSelectionCriteria
-