public abstract class TokenProviderBase extends Object implements TraceableAttributes
| Modifier and Type | Field and Description |
|---|---|
protected String |
clusterUrl |
protected org.apache.http.client.HttpClient |
httpClient |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
TokenProviderBase(@NotNull String clusterUrl,
@Nullable org.apache.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
acquireAccessToken() |
protected abstract String |
acquireAccessTokenImpl() |
protected abstract String |
getAuthMethod() |
Map<String,String> |
getTracingAttributes() |
protected final org.slf4j.Logger logger
protected final String clusterUrl
protected final org.apache.http.client.HttpClient httpClient
public TokenProviderBase(@NotNull
@NotNull String clusterUrl,
@Nullable
@Nullable org.apache.http.client.HttpClient httpClient)
throws URISyntaxException
URISyntaxExceptionpublic String acquireAccessToken() throws DataServiceException, DataClientException
protected abstract String acquireAccessTokenImpl() throws DataServiceException, DataClientException
protected abstract String getAuthMethod()
public Map<String,String> getTracingAttributes()
getTracingAttributes in interface TraceableAttributesCopyright © 2023. All rights reserved.