目录

CLASS info
public Interface Fido2Intent
Represents an API for starting the FIDO2 client for registration or authentication.

Public Method Summary

Return typeMethod name
boolean

canLaunch()

Checks whether the FIDO2 client can be started.

void

launchFido2Activity(Activity activity, int requestCode)

Starts the FIDO2 client for registration or authentication.

Public Methods

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 nameParameter desc
activityActivity instance, which uses its onActivityResult method to receive a request for receiving the processing result of the FIDO2 client.
requestCodeRequest code, which is used to determine whether the current process is registration or authentication.Fido2Client.REGISTRATION_REQUEST: registrationFido2Client.AUTHENTICATION_REQUEST: authentication.