目录

AuthenticatorSelectionCriteria.Builder

Class Info

public static class AuthenticatorSelectionCriteria.Builder

Configuration items related to user verification, which are specified by the WebAuthn relying party.

Public Constructor Summary

Public Method Summary

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.

public AuthenticatorSelectionCriteria

build()

Constructs an AuthenticatorSelectionCriteria object.

Public Constructors

[h2]AuthenticatorSelectionCriteria.Builder

Constructor

AuthenticatorSelectionCriteria.Builder()

Constructs an AuthenticatorSelectionCriteria.Builder instance.

Public Methods

[h2]setAttachment

Method

public AuthenticatorSelectionCriteria.Builder setAttachment(Attachment attachment)

Sets an authenticator type.

Parameters

Name

Description

attachment

Authenticator type.

Returns

[h2]setResidentKey

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

[h2]setUserverification

Method

public AuthenticatorSelectionCriteria.Builder setUserverification(UserVerificationRequirement userVerification)

Sets whether to perform user verification.

Parameters

Name

Description

userVerification

Indicates whether to perform user verification.

Returns

[h2]build

Method

public AuthenticatorSelectionCriteria build()

Constructs an AuthenticatorSelectionCriteria object.

Returns