@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @Bean
        @ConditionalOnMissingBean(name = TokenTicketBuilder.BEAN_NAME)
        public TokenTicketBuilder tokenTicketBuilder(
            final CasConfigurationProperties casProperties,
            @Qualifier("tokenTicketValidator")
            final TicketValidator tokenTicketValidator,
            @Qualifier(JwtBuilder.TICKET_JWT_BUILDER_BEAN_NAME)
            final JwtBuilder tokenTicketJwtBuilder,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager,
            @Qualifier(TicketFactory.BEAN_NAME)
            final TicketFactory ticketFactory) {
            return new JwtTicketBuilder(tokenTicketValidator, ticketFactory,
                tokenTicketJwtBuilder, servicesManager, casProperties);
        }
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