| 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. |
| Type | Desc |
| 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 type | Method name |
| UserVerificationRequirement | fromValue(String value) Generates an instance of UserVerificationRequirement based on the name. |
| String | getValue() Obtains an enumerated value of UserVerificationRequirement. |
| Method |
| UserVerificationRequirement fromValue(String value) |
| Generates an instance of UserVerificationRequirement based on the name. |
Parameters
| Parameter name | Parameter 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
| type | desc |
| UserVerificationRequirement | Instance of UserVerificationRequirement. |
| Method |
| String getValue() |
| Obtains an enumerated value of UserVerificationRequirement. |
Return
| type | desc |
| String | Enumerated value of UserVerificationRequirement. |