目录

Fido2IntentCallback

Interface Info

public interface Fido2IntentCallback

APIs called when the FIDO2 client obtains a registration or authentication intent.

Public Method Summary

Qualifier and Type

Method Name and Description

public void

onSuccess(Fido2Intent fido2Intent)

Called when Fido2Client successfully obtains a registration or authentication intent. This method is called in the main thread.

public void

onFailure(int errorCode, CharSequence errString)

Called when Fido2Client fails to obtain a registration or authentication intent. This method is called in the main thread.

Public Methods

[h2]onSuccess

Method

public void onSuccess(Fido2Intent fido2Intent)

Called when Fido2Client successfully obtains a registration or authentication intent.

Parameters

Name

Description

fido2Intent

Fido2Intent instance, which is used to start the FIDO2 client for registration or authentication.

[h2]onFailure

Method

public void onFailure(int errorCode, CharSequence errString)

Called when Fido2Client fails to obtain a registration or authentication intent.

Parameters

Name

Description

errorCode

Error code returned when Fido2Client fails to obtain a registration or authentication intent.

errString

Error description returned when Fido2Client fails to obtain a registration or authentication intent.