@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public SmsSender smsSender(final CasConfigurationProperties casProperties,
                               @Qualifier(HttpClient.BEAN_NAME_HTTPCLIENT)
                               final HttpClient httpClient) {
        val textMagic = casProperties.getSmsProvider().getTextMagic();
        return new TextMagicSmsSender(textMagic, Optional.of(httpClient));
    }
This is {@link CasTextMagicSmsAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-sms-textmagic/src/main/java/org/apereo/cas/config/CasTextMagicSmsAutoConfiguration.java