@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public TicketGrantingTicketResourceEntityResponseFactory ticketGrantingTicketResourceEntityResponseFactory(
        @Qualifier(TokenTicketBuilder.BEAN_NAME)
        final TokenTicketBuilder tokenTicketBuilder) {
        return new JwtTicketGrantingTicketResourceEntityResponseFactory(tokenTicketBuilder);
    }
This is {@link CasRestTokensAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-rest-tokens/src/main/java/org/apereo/cas/config/CasRestTokensAutoConfiguration.java