public class FileTokenCache extends Object implements TokenCache
| Constructor and Description |
|---|
FileTokenCache(Path cacheFilePath)
Constructs a new SimpleFileTokenCache instance.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
load()
Loads a Token from the cache.
|
void |
save(Token token)
Saves a Token to the cache.
|
public FileTokenCache(Path cacheFilePath)
cacheFilePath - The path where the token cache will be storedpublic void save(Token token)
TokenCachesave in interface TokenCachetoken - The Token to savepublic Token load()
TokenCacheload in interface TokenCacheCopyright © 2025. All rights reserved.