@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public SmsSender smsSender(final CasConfigurationProperties casProperties) {
        val nexmo = casProperties.getSmsProvider().getNexmo();
        return new NexmoSmsSender(nexmo);
    }
This is {@link CasNexmoSmsAutoConfiguration}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-sms-nexmo/src/main/java/org/apereo/cas/config/CasNexmoSmsAutoConfiguration.java