verifyFactor

Verifies a Factor from a VerifyFactorPayload

Parameters

error
Block to be called when the operation fails with the cause of failure
factorPayload
Describes the information needed to verify a factor
success
Block to be called when the operation succeeds, returns the verified Factor
abstract fun verifyFactor(verifyFactorPayload: VerifyFactorPayload, success: (Factor) -> Unit, error: (TwilioVerifyException) -> Unit)