Package app.sdkgen.client.TokenStore
Class FileTokenStore
- java.lang.Object
-
- app.sdkgen.client.TokenStore.FileTokenStore
-
- All Implemented Interfaces:
TokenStoreInterface
public class FileTokenStore extends java.lang.Object implements TokenStoreInterface
-
-
Constructor Summary
Constructors Constructor Description FileTokenStore(java.lang.String cacheDir, java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTokenget()voidpersist(AccessToken token)voidremove()
-
-
-
Method Detail
-
get
public AccessToken get()
- Specified by:
getin interfaceTokenStoreInterface
-
persist
public void persist(AccessToken token) throws TokenPersistException
- Specified by:
persistin interfaceTokenStoreInterface- Throws:
TokenPersistException
-
remove
public void remove()
- Specified by:
removein interfaceTokenStoreInterface
-
-