目录

ENUM info
public enum UserVerificationRequirement
Enumerates user verification requirement levels. The enumerated values can be used by the relying party to differentiate user verification requirements in different operations.

Enumeration Summary

TypeDesc
REQUIREDUser verification is required.
PREFERREDIf possible, the relying party preferentially performs user authentication during an operation. However, if the user authentication flag is not set in the response, the operation will not fail.
DISCOURAGEDThe relying party does not want to perform user authentication during an operation (for example, to minimize interference with the user interaction flow).

Public Methods Summary

Return typeMethod name
UserVerificationRequirement

fromValue(String value)

Generates an instance of UserVerificationRequirement based on the name.

String

getValue()

Obtains an enumerated value of UserVerificationRequirement.

Public Methods

Method
UserVerificationRequirement fromValue(String value)
Generates an instance of UserVerificationRequirement based on the name.

Parameters

Parameter nameParameter desc
value

Enumerated user verification requirement.

required: User verification is required.

preferred: If possible, the relying party preferentially performs user authentication during an operation. However, if the user authentication flag is not set in the response, the operation will not fail.

discouraged: The relying party does not want to perform user authentication during an operation (for example, to minimize interference with the user interaction flow).

Return

typedesc
UserVerificationRequirementInstance of UserVerificationRequirement.
Method
String getValue()
Obtains an enumerated value of UserVerificationRequirement.

Return

typedesc
StringEnumerated value of UserVerificationRequirement.