org.springframework.security.oauth2.provider.token.store.redis.RedisTokenStoreSerializationStrategy Maven / Gradle / Ivy
package org.springframework.security.oauth2.provider.token.store.redis;
/**
* @author efenderbosch
*/
public interface RedisTokenStoreSerializationStrategy {
T deserialize(byte[] bytes, Class clazz);
String deserializeString(byte[] bytes);
byte[] serialize(Object object);
byte[] serialize(String data);
}