Class Fido2Response

java.lang.Object
com.thalesgroup.gemalto.fido2.client.Fido2Response

public abstract class Fido2Response extends Object
Represents the FIDO2 response sent back to the Relying Party.

This object contains the response data in JSON format, which should be forwarded to the FIDO2 server for verification.

Since:
1.0.0
  • Constructor Details

  • Method Details

    • raw

      public String raw()
      Gets the raw FIDO2 response as a JSON string.

      This is the payload that should be sent to the FIDO2 server.

      Returns:
      The JSON string representation of the FIDO2 response.
      Since:
      1.0.0
    • getOperationType

      public Fido2OperationType getOperationType()
      Gets the type of the FIDO2 operation that this response corresponds to.
      Returns:
      The Fido2OperationType (e.g., REGISTRATION or AUTHENTICATION).
      Since:
      1.0.0