-
- All Implemented Interfaces:
-
com.ibm.security.verifysdk.adaptive.FactorEvaluation
public final class FIDOEvaluation implements FactorEvaluation
Represents a FIDO evaluation, using FIDO verification data.
Example usage:
val fidoEvaluation = FIDOEvaluation(transactionId = "36a101c7-7426-4f45-ab3c-55f8dc075c6e", authenticatorData = "authenticatorData", userHandle = "userHandle", signature = "signature", clientDataJSON = "clientDataJSON") val adaptive = Adaptive() // Where `Adaptive` is an implementation of the `AdaptiveDelegate` interface. adaptive.evaluate(evaluation = fidoEvaluation) { result -> result.onFailure { error -> // Handle `error` of type `Throwable`. } result.onSuccess { adaptiveResult -> // Handle `adaptiveResult` of type `AdaptiveResult`. } }
-
-
Field Summary
Fields Modifier and Type Field Description private final String
transactionId
private final String
authenticatorData
private final String
userHandle
private final String
signature
private final String
clientDataJSON
-
Method Summary
Modifier and Type Method Description String
getTransactionId()
Transaction identifier used to associate an evaluation. final String
getAuthenticatorData()
The information about the authentication produced by the authenticator. final String
getUserHandle()
The identifier for the user who owns this authenticator. final String
getSignature()
The received and signed FIDO challenge from FIDOGenerateResult. final String
getClientDataJSON()
The base64Url-encoded clientDataJson that was received from the WebAuthn client. -
-
Method Detail
-
getTransactionId
String getTransactionId()
Transaction identifier used to associate an evaluation. Received in a RequiresAssessmentResult.
-
getAuthenticatorData
final String getAuthenticatorData()
The information about the authentication produced by the authenticator.
-
getUserHandle
final String getUserHandle()
The identifier for the user who owns this authenticator.
-
getSignature
final String getSignature()
The received and signed FIDO challenge from FIDOGenerateResult.
-
getClientDataJSON
final String getClientDataJSON()
The base64Url-encoded clientDataJson that was received from the WebAuthn client.
-
-
-
-