Class ManagedIdentityTokenProvider
- java.lang.Object
-
- com.microsoft.azure.kusto.data.auth.TokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.ManagedIdentityTokenProvider
-
public class ManagedIdentityTokenProvider extends CloudDependentTokenProviderBase
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
scopes
-
Fields inherited from class com.microsoft.azure.kusto.data.auth.TokenProviderBase
clusterUrl, httpClient, logger
-
-
Constructor Summary
Constructors Constructor Description ManagedIdentityTokenProvider(@NotNull String clusterUrl, String managedIdentityClientId, @Nullable org.apache.http.client.HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacquireAccessTokenImpl()protected voidinitializeWithCloudInfo(CloudInfo cloudInfo)-
Methods inherited from class com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
acquireAccessToken
-
-
-
-
Constructor Detail
-
ManagedIdentityTokenProvider
public ManagedIdentityTokenProvider(@NotNull @NotNull String clusterUrl, String managedIdentityClientId, @Nullable @Nullable org.apache.http.client.HttpClient httpClient) throws URISyntaxException- Throws:
URISyntaxException
-
-
Method Detail
-
initializeWithCloudInfo
protected void initializeWithCloudInfo(CloudInfo cloudInfo) throws DataServiceException, DataClientException
- Overrides:
initializeWithCloudInfoin classCloudDependentTokenProviderBase- Throws:
DataServiceExceptionDataClientException
-
acquireAccessTokenImpl
public String acquireAccessTokenImpl() throws DataServiceException
- Specified by:
acquireAccessTokenImplin classCloudDependentTokenProviderBase- Throws:
DataServiceException
-
-