Package 

Class FIDOEvaluation

  • 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`.
        }
    }