@Deprecated public class RedisAuthorizationCodeServices extends RandomValueAuthorizationCodeServices
| Constructor and Description |
|---|
RedisAuthorizationCodeServices(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
Deprecated.
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected OAuth2Authentication |
remove(String code)
Deprecated.
|
void |
setPrefix(String prefix)
Deprecated.
|
void |
setSerializationStrategy(RedisTokenStoreSerializationStrategy serializationStrategy)
Deprecated.
|
protected void |
store(String code,
OAuth2Authentication authentication)
Deprecated.
|
consumeAuthorizationCode, createAuthorizationCodepublic RedisAuthorizationCodeServices(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
connectionFactory - the connection factory which should be used to obtain a connection to Redisprotected void store(String code, OAuth2Authentication authentication)
store in class RandomValueAuthorizationCodeServicesprotected OAuth2Authentication remove(String code)
remove in class RandomValueAuthorizationCodeServicespublic void setSerializationStrategy(RedisTokenStoreSerializationStrategy serializationStrategy)
public void setPrefix(String prefix)
Copyright © 2021. All rights reserved.