| CLASS info |
| public class AuthenticatorSelectionCriteria |
| Represents configuration items related to the authenticator, which are specified by the WebAuthn relying party. |
| Class | Desc |
| AuthenticatorSelectionCriteria.Builder | Represents a builder for AuthenticatorSelectionCriteria. |
| Method name |
AuthenticatorSelectionCriteria (Attachment attachment, Boolean resident,UserVerificationRequirement userVerification) Represents a constructor for AuthenticatorSelectionCriteria. |
| Return type | Method name |
| Attachment | Obtains an authenticator type. |
| Boolean | Checks whether the authenticator needs to store credentials. |
| UserVerificationRequirement | Obtains the user verification setting.A user can be verified based on personal characteristic information such as the fingerprint, facial features, and iris. |
| Method |
AuthenticatorSelectionCriteria (Attachment attachment, Boolean resident,UserVerificationRequirement userVerification) |
| Represents a constructor for AuthenticatorSelectionCriteria. |
Parameters
| Parameter name | Parameter desc |
| attachment | Enumerated authenticator type. |
| resident | Indicates whether the authenticator needs to store credentials. This parameter is reserved only for compatibility with earlier versions. The default value is false. |
| userVerification | Indicates whether to perform user verification. |
| Method |
| Attachment getAuthenticatorAttachment() |
| Obtains an authenticator type. |
Return
| type | desc |
| Attachment | Authenticator type, including the following:Platform authenticator, such as a fingerprint, facial feature, or iris authenticatorRoaming authenticator, such as a Bluetooth, NFC, or USB authenticator |
| Method |
| Boolean isRequireResidentKey() |
| Checks whether the authenticator needs to store credentials. |
Return
| type | desc |
| Boolean | Whether the authenticator needs to store credentials. |
| Method |
| UserVerificationRequirement getUserVerification() |
| Obtains the user verification setting. |
Return
| type | desc |
| UserVerificationRequirement | Whether to perform user verification.For details, please refer to UserVerificationRequirement. |