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

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-gauth/src/main/java/org/apereo/cas/config/CasGoogleAuthenticatorAutoConfiguration.java