public class TokenCache extends Object implements ITokenCache
Modifier and Type | Field and Description |
---|---|
protected static int |
MIN_ACCESS_TOKEN_EXPIRE_IN_SEC |
Constructor and Description |
---|
TokenCache()
Constructor for token cache
|
TokenCache(ITokenCacheAccessAspect tokenCacheAccessAspect)
Constructor for token cache
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(String data)
Deserialize token cache from json
|
String |
serialize()
Serialize token cache to json
|
protected static final int MIN_ACCESS_TOKEN_EXPIRE_IN_SEC
public TokenCache(ITokenCacheAccessAspect tokenCacheAccessAspect)
tokenCacheAccessAspect
- ITokenCacheAccessAspect
public TokenCache()
public void deserialize(String data)
ITokenCache
deserialize
in interface ITokenCache
data
- serialized cache in json formatpublic String serialize()
ITokenCache
serialize
in interface ITokenCache
Copyright © 2013–2019. All rights reserved.