| CLASS info |
| public Interface Fido2Intent |
| Represents an API for starting the FIDO2 client for registration or authentication. |
| Return type | Method name |
| boolean | Checks whether the FIDO2 client can be started. |
| void | launchFido2Activity(Activity activity, int requestCode) Starts the FIDO2 client for registration or authentication. |
| Method |
| boolean canLaunch() |
| Checks whether the FIDO2 client can be started. |
| Method |
| void launchFido2Activity(Activity activity, int requestCode) |
| Starts the FIDO2 registration or authentication activity. |
Parameters
| Parameter name | Parameter desc |
| activity | Activity instance, which uses its onActivityResult method to receive a request for receiving the processing result of the FIDO2 client. |
| requestCode | Request code, which is used to determine whether the current process is registration or authentication.Fido2Client.REGISTRATION_REQUEST: registrationFido2Client.AUTHENTICATION_REQUEST: authentication. |