public class AzureAdTokenRefresher extends Object
AzureAdRestClient (generally the same as the lifecycle of
AzureAdDirectory| Modifier and Type | Field and Description |
|---|---|
static String |
AZURE_AD_TOKEN_CACHE_KEY |
| Constructor and Description |
|---|
AzureAdTokenRefresher(com.google.common.cache.LoadingCache<String,String> tokenCache) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.ClientResponse |
handle(com.sun.jersey.api.client.ClientRequest request,
Supplier<com.sun.jersey.api.client.ClientHandler> next)
Sets the current authentication token in the request, creating one if necessary, and adds it as a request header.
|
public static final String AZURE_AD_TOKEN_CACHE_KEY
public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest request,
Supplier<com.sun.jersey.api.client.ClientHandler> next)
request - thenext - a supplier of the next handlerCopyright © 2023 Atlassian. All rights reserved.