public class ChallengeUpdater extends Updater<Challenge>
Constructor and Description |
---|
ChallengeUpdater(String pathServiceSid,
String pathIdentity,
String pathFactorSid,
String pathSid)
Construct a new ChallengeUpdater.
|
Modifier and Type | Method and Description |
---|---|
ChallengeUpdater |
setAuthPayload(String authPayload)
The optional payload needed to verify the Challenge.
|
Challenge |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ChallengeUpdater(String pathServiceSid, String pathIdentity, String pathFactorSid, String pathSid)
pathServiceSid
- Service Sid.pathIdentity
- Unique identity of the EntitypathFactorSid
- Factor Sid.pathSid
- A string that uniquely identifies this Challenge, or `latest`.public ChallengeUpdater setAuthPayload(String authPayload)
authPayload
- Optional payload to verify the Challengepublic Challenge update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.