Class ReactiveRedisAccessTokenCache
- java.lang.Object
-
- org.bremersee.security.authentication.ReactiveRedisAccessTokenCache
-
- All Implemented Interfaces:
org.bremersee.security.authentication.ReactiveAccessTokenCache
public class ReactiveRedisAccessTokenCache extends Object implements org.bremersee.security.authentication.ReactiveAccessTokenCache
The reactive redis access token cache.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description ReactiveRedisAccessTokenCache(AuthProperties.JwtCache jwtCacheProperties, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory)
Instantiates a new reactive redis access token cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<String>
findAccessToken(String key)
reactor.core.publisher.Mono<String>
putAccessToken(String key, String accessToken)
-
-
-
Constructor Detail
-
ReactiveRedisAccessTokenCache
public ReactiveRedisAccessTokenCache(AuthProperties.JwtCache jwtCacheProperties, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory)
Instantiates a new reactive redis access token cache.- Parameters:
jwtCacheProperties
- the jwt cache propertiesconnectionFactory
- the connection factory
-
-