Constructor and Description |
---|
FactorUpdater(String pathServiceSid,
String pathIdentity,
String pathSid)
Construct a new FactorUpdater.
|
Modifier and Type | Method and Description |
---|---|
FactorUpdater |
setAuthPayload(String authPayload)
The optional payload needed to verify the Factor for the first time.
|
FactorUpdater |
setConfigNotificationToken(String configNotificationToken)
For APN, the device token.
|
FactorUpdater |
setConfigSdkVersion(String configSdkVersion)
The Verify Push SDK version used to configure the factor.
|
FactorUpdater |
setFriendlyName(String friendlyName)
The new friendly name of this Factor.
|
Factor |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public FactorUpdater setAuthPayload(String authPayload)
authPayload
- Optional payload to verify the Factor for the first timepublic FactorUpdater setFriendlyName(String friendlyName)
friendlyName
- The friendly name of this Factorpublic FactorUpdater setConfigNotificationToken(String configNotificationToken)
configNotificationToken
- For APN, the device token. For FCM the
registration tokenpublic FactorUpdater setConfigSdkVersion(String configSdkVersion)
configSdkVersion
- The Verify Push SDK version used to configure the
factorpublic Factor update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.