java.lang.Object
com.irurueta.authserver.authorization.application.sms.SmsConfiguration

@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(SmsProperties.class) public class SmsConfiguration extends Object
Declares the policy of the SMS channel as a bean.
  • Constructor Details

    • SmsConfiguration

      public SmsConfiguration()
  • Method Details

    • smsCostPolicy

      @Bean public SmsCostPolicy smsCostPolicy(SmsProperties properties)
      Builds the policy that decides which countries are served and how much may be spent.
      Parameters:
      properties - the settings.
      Returns:
      the policy.