getAllChallenges

Gets all Challenges associated to a Factor with the given ChallengeListPayload

Parameters

challengeListPayload
Describes the information needed to fetch all the Challenges
error
Block to be called when the operation fails with the cause of failure
success
Block to be called when the operation succeeds, returns a ChallengeList which contains the Challenges and the metadata associated to the request
abstract fun getAllChallenges(challengeListPayload: ChallengeListPayload, success: (ChallengeList) -> Unit, error: (TwilioVerifyException) -> Unit)