Interface Fido2ResponseCallback
public interface Fido2ResponseCallback
A callback for receiving the result of a FIDO2 operation initiated by
Fido2Client.respondWithArgs(com.thalesgroup.gemalto.fido2.client.Fido2RespondArgs, com.thalesgroup.gemalto.fido2.client.Fido2ResponseCallback).
The methods in this callback are invoked on a background thread.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(Fido2Exception exception) Called when the FIDO2 operation fails.voidonResponded(Fido2Response response) Called when the FIDO2 operation completes successfully.
-
Method Details
-
onResponded
Called when the FIDO2 operation completes successfully.The application should forward the provided
Fido2Responseto the FIDO2 server for verification. This method is invoked on a background thread.- Parameters:
response- The successfulFido2Response. Must not be null.- Since:
- 1.0.0
-
onError
Called when the FIDO2 operation fails.This method is invoked on a background thread.
- Parameters:
exception- TheFido2Exceptionthat caused the failure. Must not be null.- Since:
- 1.0.0
-