public class InMemoryTokenCache extends Object implements TokenCache
| Constructor and Description |
|---|
InMemoryTokenCache()
Create new in-memory cache instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(String cacheKey,
com.scalepoint.oauth_token_client.TokenSource underlyingSource) |
public InMemoryTokenCache()
public String get(String cacheKey, com.scalepoint.oauth_token_client.TokenSource underlyingSource) throws IOException
get in interface TokenCachecacheKey - Cache keyunderlyingSource - Underlying token source to invoke on cache missIOException - Exception from underlying sourceCopyright © 2016 Scalepoint Technologies Ltd.. All rights reserved.