类 JustAuthStateCacheConfiguration.Redis

java.lang.Object
com.xingyuv.justauth.autoconfigure.JustAuthStateCacheConfiguration.Redis
封闭类:
JustAuthStateCacheConfiguration

@ConditionalOnClass(org.springframework.data.redis.core.RedisTemplate.class) @ConditionalOnMissingBean(com.xingyuv.jushauth.cache.AuthStateCache.class) @AutoConfigureBefore(org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class) @ConditionalOnProperty(name="justauth.cache.type", havingValue="redis", matchIfMissing=true) static class JustAuthStateCacheConfiguration.Redis extends Object
Redis 缓存
  • 构造器详细资料

    • Redis

      Redis()
  • 方法详细资料

    • justAuthRedisCacheTemplate

      @Bean(name="justAuthRedisCacheTemplate") public org.springframework.data.redis.core.RedisTemplate<String,String> justAuthRedisCacheTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory)
    • authStateCache

      @Bean public AuthStateCache authStateCache(org.springframework.data.redis.core.RedisTemplate<String,String> justAuthRedisCacheTemplate, JustAuthProperties justAuthProperties)