Class Fido2Response
java.lang.Object
com.thalesgroup.gemalto.fido2.client.Fido2Response
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 Summary
ConstructorsModifierConstructorDescriptionprotectedFido2Response(String jsonText, Fido2OperationType operationType) -
Method Summary
Modifier and TypeMethodDescriptionGets the type of the FIDO2 operation that this response corresponds to.raw()Gets the raw FIDO2 response as a JSON string.
-
Constructor Details
-
Fido2Response
-
-
Method Details
-
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
Gets the type of the FIDO2 operation that this response corresponds to.- Returns:
- The
Fido2OperationType(e.g.,REGISTRATIONorAUTHENTICATION). - Since:
- 1.0.0
-