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 Type
    Method
    Description
    void
    Called when the FIDO2 operation fails.
    void
    Called when the FIDO2 operation completes successfully.
  • Method Details

    • onResponded

      @WorkerThread void onResponded(@NonNull Fido2Response response)
      Called when the FIDO2 operation completes successfully.

      The application should forward the provided Fido2Response to the FIDO2 server for verification. This method is invoked on a background thread.

      Parameters:
      response - The successful Fido2Response. Must not be null.
      Since:
      1.0.0
    • onError

      @WorkerThread void onError(@NonNull Fido2Exception exception)
      Called when the FIDO2 operation fails.

      This method is invoked on a background thread.

      Parameters:
      exception - The Fido2Exception that caused the failure. Must not be null.
      Since:
      1.0.0