Class Info |
|---|
public static class AuthenticatorSelectionCriteria.Builder Configuration items related to user verification, which are specified by the WebAuthn relying party. |
Constructor Name |
|---|
AuthenticatorSelectionCriteria.Builder() Constructs an AuthenticatorSelectionCriteria object. |
Qualifier and Type | Method Name and Description |
|---|---|
public AuthenticatorSelectionCriteria.Builder | setAttachment(Attachment attachment) Sets an authenticator type, which can be a platform or roaming authenticator. |
public AuthenticatorSelectionCriteria.Builder | setResidentKey(boolean resident) Sets whether the authenticator needs to store credentials. |
public AuthenticatorSelectionCriteria.Builder | setUserverification(UserVerificationRequirement userVerification) Sets whether to perform user verification based on personal characteristic information such as the fingerprint and facial features. |
build() Constructs an AuthenticatorSelectionCriteria object. |
Constructor |
|---|
AuthenticatorSelectionCriteria.Builder() Constructs an AuthenticatorSelectionCriteria.Builder instance. |
Method |
|---|
public AuthenticatorSelectionCriteria.Builder setAttachment(Attachment attachment) Sets an authenticator type. |
Parameters
Name | Description |
|---|---|
attachment | Authenticator type. |
Returns
Type | Description |
|---|---|
AuthenticatorSelectionCriteria.Builder | Builder of AuthenticatorSelectionCriteria. |
Method |
|---|
public AuthenticatorSelectionCriteria.Builder setResidentKey(boolean resident) Sets whether the authenticator needs to store credentials. |
Parameters
Name | Description |
|---|---|
resident | Indicates whether the authenticator needs to store credentials. |
Returns
Type | Description |
|---|---|
AuthenticatorSelectionCriteria.Builder | Builder of AuthenticatorSelectionCriteria. |
Method |
|---|
public AuthenticatorSelectionCriteria.Builder setUserverification(UserVerificationRequirement userVerification) Sets whether to perform user verification. |
Parameters
Name | Description |
|---|---|
userVerification | Indicates whether to perform user verification. |
Returns
Type | Description |
|---|---|
AuthenticatorSelectionCriteria.Builder | Builder of AuthenticatorSelectionCriteria. |
Method |
|---|
public AuthenticatorSelectionCriteria build() Constructs an AuthenticatorSelectionCriteria object. |
Returns
Type | Description |
|---|---|
AuthenticatorSelectionCriteria object. |