目录

CLASS info
public interface Fido2IntentCallback extends Fido2Status
Represents a callback API for FIDO2 registration or authentication.

Public Method Summary

Return typeMethod name
void

onSuccess(Fido2Intent fido2Intent)

Executes when the FIDO2 client successfully obtains a registration or authentication intent. This method is executed in the main thread.

void

void onFailure(int errorCode, @NonNull CharSequence errString)

Executes when the FIDO2 client fails to obtain a registration or authentication intent. This method is executed in the main thread.

Public Methods

Method
void onSuccess(Fido2Intent fido2Intent)
Executes when the FIDO2 client successfully obtains a registration or authentication intent.

Parameters

Parameter nameParameter desc
fido2IntentFido2Intent instance, which is used to start the FIDO2 client for registration or authentication.


Return

Typedesc
void
Method
void onFailure(int errorCode, @NonNull CharSequence errString)
Executes when the FIDO2 client fails to obtain a registration or authentication intent.

Parameters

Parameter nameParameter desc
errorCodeResult code returned when the FIDO2 client fails to obtain a registration or authentication intent.
errStringResult description returned when the FIDO2 client fails to obtain a registration or authentication intent.


Return

typedesc
void