@ConditionalOnMissingBean(name = "casTwilioMultifactorTrustWebflowExecutionPlanConfigurer")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public CasWebflowExecutionPlanConfigurer casTwilioMultifactorTrustWebflowExecutionPlanConfigurer(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier("mfaTwilioMultifactorTrustWebflowConfigurer")
            final CasWebflowConfigurer mfaTwilioMultifactorTrustWebflowConfigurer) {
            return BeanSupplier.of(CasWebflowExecutionPlanConfigurer.class)
                .when(CONDITION.given(applicationContext.getEnvironment()))
                .supply(() -> plan -> plan.registerWebflowConfigurer(mfaTwilioMultifactorTrustWebflowConfigurer))
                .otherwiseProxy()
                .get();
        }
This is {@link CasTwilioMultifactorAuthenticationAutoConfiguration}.

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