Class TokenProviderBase
- java.lang.Object
-
- com.microsoft.azure.kusto.data.auth.TokenProviderBase
-
- Direct Known Subclasses:
AccessTokenTokenProvider,CallbackTokenProvider,CloudDependentTokenProviderBase
public abstract class TokenProviderBase extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclusterUrlprotected org.apache.http.client.HttpClienthttpClientprotected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description TokenProviderBase(@NotNull String clusterUrl, @Nullable org.apache.http.client.HttpClient httpClient)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
clusterUrl
protected final String clusterUrl
-
httpClient
protected final org.apache.http.client.HttpClient httpClient
-
-
Constructor Detail
-
TokenProviderBase
public TokenProviderBase(@NotNull @NotNull String clusterUrl, @Nullable @Nullable org.apache.http.client.HttpClient httpClient) throws URISyntaxException- Throws:
URISyntaxException
-
-
Method Detail
-
acquireAccessToken
public abstract String acquireAccessToken() throws DataServiceException, DataClientException
-
-