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
Since:
5.1.0
See Also:
  • Constructor Details

    • TwilioProperties

      public TwilioProperties()
  • Method Details

    • getAccountId

      public String getAccountId()
      Twilio account identifier used for authentication.
    • getToken

      public String 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

      public TwilioProperties setAccountId(String accountId)
      Twilio account identifier used for authentication.
      Returns:
      this.
    • setToken

      public TwilioProperties setToken(String token)
      Twilio secret token used for authentication.
      Returns:
      this.
    • setEnabled

      public TwilioProperties setEnabled(boolean enabled)
      Whether the module is enabled or not, defaults to true.
      Returns:
      this.
    • setPhoneCallsEnabled

      public TwilioProperties setPhoneCallsEnabled(boolean phoneCallsEnabled)
      Controls whether Twilio support should also handle making phone calls.
      Returns:
      this.