public class TokenCache extends Object implements ITokenCache
Conditionally thread-safe
| 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 - ITokenCacheAccessAspectpublic TokenCache()
public void deserialize(String data)
ITokenCachedeserialize in interface ITokenCachedata - serialized cache in json formatpublic String serialize()
ITokenCacheserialize in interface ITokenCacheCopyright © 2013–2025. All rights reserved.