| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears the current token and certificate from thread wide storage.
|
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 Certificate |
getClientCertificate()
Returns the certificate that is saved in thread wide storage.
|
static Token |
getToken()
Returns the token that is saved in thread wide storage.
|
static void |
setClientCertificate(Certificate certificate)
Saves the certificate thread wide.
|
static void |
setToken(Token token)
Saves the validated (!) token thread wide.
|
@Nullable public static Certificate getClientCertificate()
public static void setClientCertificate(Certificate certificate)
certificate - certificate to be saved.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()
public static void clear()
Copyright © 2023. All rights reserved.