getChallenge

Gets a Challenge with the given challenge sid and factor sid

Parameters

challengeSid
Sid of the Challenge requested
error
Block to be called when the operation fails with the cause of failure
factorSid
Sid of the Factor to which the Challenge corresponds
success
Block to be called when the operation succeeds, returns the requested Challenge
abstract fun getChallenge(challengeSid: String, factorSid: String, success: (Challenge) -> Unit, error: (TwilioVerifyException) -> Unit)