Class CloudDependentTokenProviderBase
- java.lang.Object
-
- com.microsoft.azure.kusto.data.auth.TokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
-
- Direct Known Subclasses:
ManagedIdentityTokenProvider,MsalTokenProviderBase
public abstract class CloudDependentTokenProviderBase extends TokenProviderBase
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>scopes-
Fields inherited from class com.microsoft.azure.kusto.data.auth.TokenProviderBase
clusterUrl, httpClient, logger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringacquireAccessToken()protected abstract StringacquireAccessTokenImpl()protected voidinitializeWithCloudInfo(CloudInfo cloudInfo)
-
-
-
Method Detail
-
initializeWithCloudInfo
protected void initializeWithCloudInfo(CloudInfo cloudInfo) throws DataClientException, DataServiceException
-
acquireAccessToken
public String acquireAccessToken() throws DataServiceException, DataClientException
- Specified by:
acquireAccessTokenin classTokenProviderBase- Throws:
DataServiceExceptionDataClientException
-
acquireAccessTokenImpl
protected abstract String acquireAccessTokenImpl() throws DataServiceException, DataClientException
-
-