Package com.twilio.verify.models

Types

Challenge
Link copied to clipboard
Describes the information of a Challenge
interface Challenge
ChallengeDetails
Link copied to clipboard
Describes the Details of a Challenge
data class ChallengeDetails(message: String,fields: List<Detail>,date: Date?)
ChallengeList
Link copied to clipboard
Describes the information of a ChallengeList
interface ChallengeList
ChallengeListOrder
Link copied to clipboard
enum ChallengeListOrder : Enum
ChallengeListPayload
Link copied to clipboard
Describes the information required to fetch a ChallengeList
class ChallengeListPayload(factorSid: String,pageSize: Int,status: ChallengeStatus?,order: ChallengeListOrder,pageToken: String?)
ChallengeStatus
Link copied to clipboard
Describes the approval status of a Challenge
enum ChallengeStatus : Enum
Detail
Link copied to clipboard
Describes the information of a Challenge Detail
data class Detail(label: String,value: String)
Factor
Link copied to clipboard
Describes the information of a Factor.
interface Factor
FactorPayload
Link copied to clipboard
Describes the information required to create a Factor
interface FactorPayload
FactorStatus
Link copied to clipboard
Describes the verification status of a factor.
enum FactorStatus : Enum
FactorType
Link copied to clipboard
Describes the types a factor can have
enum FactorType : Enum
Metadata
Link copied to clipboard
Describes the Metadata of a paginated service
interface Metadata
PushFactorPayload
Link copied to clipboard
Describes the information required to create a Factor which type is Push
class PushFactorPayload(friendlyName: String,serviceSid: String,identity: String,pushToken: String?,accessToken: String,metadata: Map<String, String>?) : FactorPayload
UpdateChallengePayload
Link copied to clipboard
Describes the information required to update a Challenge
interface UpdateChallengePayload
UpdateFactorPayload
Link copied to clipboard
Describes the information required to update a Factor
interface UpdateFactorPayload
UpdatePushChallengePayload
Link copied to clipboard
Describes the information required to update a Push Challenge
class UpdatePushChallengePayload(factorSid: String,challengeSid: String,status: ChallengeStatus) : UpdateChallengePayload
UpdatePushFactorPayload
Link copied to clipboard
Describes the information required to update a Factor which type is Push
data class UpdatePushFactorPayload(sid: String,pushToken: String?) : UpdateFactorPayload
VerifyFactorPayload
Link copied to clipboard
Describes the information required to verify a Factor
interface VerifyFactorPayload
VerifyPushFactorPayload
Link copied to clipboard
Describes the information required to verify a Factor which type is Push
class VerifyPushFactorPayload(sid: String) : VerifyFactorPayload