org.springframework.security.oauth2.provider.token.store.redis.RedisTokenStoreSerializationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-security-oauth2 Show documentation
Show all versions of spring-security-oauth2 Show documentation
Module for providing OAuth2 support to Spring Security
package org.springframework.security.oauth2.provider.token.store.redis;
/**
*
* @deprecated See the OAuth 2.0 Migration Guide for Spring Security 5.
*
* @author efenderbosch
*/
@Deprecated
public interface RedisTokenStoreSerializationStrategy {
T deserialize(byte[] bytes, Class clazz);
String deserializeString(byte[] bytes);
byte[] serialize(Object object);
byte[] serialize(String data);
}