|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.microsoft.aad.adal.MemoryTokenCacheStore
public class MemoryTokenCacheStore
tokenCacheItem is not persisted. Memory cache does not keep static items.
| Constructor Summary | |
|---|---|
MemoryTokenCacheStore()
Creates MemoryTokenCacheStore. |
|
| Method Summary | |
|---|---|
boolean |
contains(String key)
Checks if cache key exists. |
TokenCacheItem |
getItem(String key)
Get cache item. |
void |
removeAll()
Removes all items from cache. |
void |
removeItem(String key)
Removes item with key. |
void |
setItem(String key,
TokenCacheItem item)
Sets item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryTokenCacheStore()
| Method Detail |
|---|
public TokenCacheItem getItem(String key)
ITokenCacheStore
getItem in interface ITokenCacheStorekey - CacheKey
public void setItem(String key,
TokenCacheItem item)
ITokenCacheStore
setItem in interface ITokenCacheStorekey - CacheKeyitem - Cache itempublic void removeItem(String key)
ITokenCacheStore
removeItem in interface ITokenCacheStorekey - CacheKeypublic void removeAll()
ITokenCacheStore
removeAll in interface ITokenCacheStorepublic boolean contains(String key)
ITokenCacheStore
contains in interface ITokenCacheStorekey - CacheKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||