@Bean
        @ConditionalOnAvailableEndpoint
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public JwtTokenCipherSigningPublicKeyEndpoint jwtTokenCipherSigningPublicKeyEndpoint(
            @Qualifier(WebApplicationService.BEAN_NAME_FACTORY)
            final ServiceFactory<WebApplicationService> webApplicationServiceFactory,
            final CasConfigurationProperties casProperties,
            @Qualifier("tokenCipherExecutor")
            final CipherExecutor tokenCipherExecutor,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager) {
            return new JwtTokenCipherSigningPublicKeyEndpoint(casProperties,
                tokenCipherExecutor, servicesManager, webApplicationServiceFactory);
        }
This is {@link TokenCoreConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-token-core/src/main/java/org/apereo/cas/config/TokenCoreConfiguration.java