Class TwilioProperties
java.lang.Object
org.apereo.cas.configuration.model.support.sms.TwilioProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-twilio")
public class TwilioProperties
extends Object
implements CasFeatureModule, Serializable
This is
TwilioProperties
.- Since:
- 5.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTwilio account identifier used for authentication.getToken()
Twilio secret token used for authentication.boolean
Whether the module is enabled or not, defaults to true.boolean
Controls whether Twilio support should also handle making phone calls.setAccountId
(String accountId) Twilio account identifier used for authentication.setEnabled
(boolean enabled) Whether the module is enabled or not, defaults to true.setPhoneCallsEnabled
(boolean phoneCallsEnabled) Controls whether Twilio support should also handle making phone calls.Twilio secret token used for authentication.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
TwilioProperties
public TwilioProperties()
-
-
Method Details
-
getAccountId
Twilio account identifier used for authentication. -
getToken
Twilio secret token used for authentication. -
isEnabled
public boolean isEnabled()Whether the module is enabled or not, defaults to true. -
isPhoneCallsEnabled
public boolean isPhoneCallsEnabled()Controls whether Twilio support should also handle making phone calls. -
setAccountId
Twilio account identifier used for authentication.- Returns:
this
.
-
setToken
Twilio secret token used for authentication.- Returns:
this
.
-
setEnabled
Whether the module is enabled or not, defaults to true.- Returns:
this
.
-
setPhoneCallsEnabled
Controls whether Twilio support should also handle making phone calls.- Returns:
this
.
-