@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnAvailableEndpoint
        public AttributeConsentReportEndpoint attributeConsentReportEndpoint(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier(ConsentEngine.BEAN_NAME)
            final ObjectProvider<ConsentEngine> consentEngine,
            @Qualifier(ConsentRepository.BEAN_NAME)
            final ObjectProvider<ConsentRepository> consentRepository,
            final CasConfigurationProperties casProperties) {
            return new AttributeConsentReportEndpoint(casProperties, applicationContext, consentRepository, consentEngine);
        }
This is {@link CasConsentCoreAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-consent-core/src/main/java/org/apereo/cas/config/CasConsentCoreAutoConfiguration.java