@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public RedisTicketRegistry.CasRedisTemplates casRedisTemplates(
            @Qualifier("ticketRedisTemplate")
            final CasRedisTemplate<String, RedisTicketDocument> ticketRedisTemplate,
            @Qualifier("sessionsRedisTemplate")
            final CasRedisTemplate<String, String> sessionsRedisTemplate) {
            return new RedisTicketRegistry.CasRedisTemplates(ticketRedisTemplate, sessionsRedisTemplate);
        }
This is {@link CasRedisTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/config/CasRedisTicketRegistryAutoConfiguration.java