| Modifier and Type | Method and Description |
|---|---|
static void |
clearToken()
Clears the current Token from thread wide storage.
|
static AccessToken |
getAccessToken()
Returns the token that is saved in thread wide storage.
|
static Token |
getToken()
Returns the token that is saved in thread wide storage.
|
static void |
setToken(Token token)
Saves the validated (!) token thread wide.
|
public static void setToken(Token token)
token - token to be saved.@Nullable public static Token getToken()
@Nullable public static AccessToken getAccessToken()
AccessToken interface.public static void clearToken()
Copyright © 2020. All rights reserved.