Package com.helixframework.okhttp.oauth
Class DefaultTokenStore
java.lang.Object
com.helixframework.okhttp.oauth.DefaultTokenStore
- All Implemented Interfaces:
TokenStore,Serializable
Default in-memory token store.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultTokenStore
public DefaultTokenStore()
-
-
Method Details
-
getToken
Description copied from interface:TokenStoreGet the auth token.- Specified by:
getTokenin interfaceTokenStore- Returns:
- auth token
-
setToken
Description copied from interface:TokenStoreSet the auth token.- Specified by:
setTokenin interfaceTokenStore- Parameters:
token- auth token
-