@ConditionalOnMissingBean(name = "casTwilioMultifactorRestMultifactorAuthenticationProviderBypass")
    @Bean
    @CasTwilioMultifactorBypassEvaluator
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public MultifactorAuthenticationProviderBypassEvaluator casTwilioMultifactorRestMultifactorAuthenticationProviderBypass(
        final ConfigurableApplicationContext applicationContext,
        final CasConfigurationProperties casProperties) {

        return BeanSupplier.of(MultifactorAuthenticationProviderBypassEvaluator.class)
            .when(BeanCondition.on("cas.authn.mfa.twilio.bypass.rest.url").given(applicationContext.getEnvironment()))
            .supply(() -> {
                val twilio = casProperties.getAuthn().getMfa().getTwilio();
                val props = twilio.getBypass();
                return new RestMultifactorAuthenticationProviderBypassEvaluator(props, twilio.getId(), applicationContext);
            })
            .otherwiseProxy()
            .get();
    }
This is {@link CasTwilioMultifactorAuthenticationMultifactorProviderBypassConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-twilio-mfa/src/main/java/org/apereo/cas/config/CasTwilioMultifactorAuthenticationMultifactorProviderBypassConfiguration.java