Class ConfidentialAppTokenProviderBase
- java.lang.Object
-
- com.microsoft.azure.kusto.data.auth.TokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.MsalTokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.ConfidentialAppTokenProviderBase
-
- Direct Known Subclasses:
ApplicationCertificateTokenProvider,ApplicationKeyTokenProvider,SubjectNameIssuerTokenProvider
public abstract class ConfidentialAppTokenProviderBase extends MsalTokenProviderBase
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.kusto.data.auth.MsalTokenProviderBase
aadAuthorityUrl, ERROR_ACQUIRING_APPLICATION_ACCESS_TOKEN, ERROR_INVALID_AUTHORITY_URL, ORGANIZATION_URI_SUFFIX, TIMEOUT_MS
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected com.microsoft.aad.msal4j.IAuthenticationResultacquireAccessTokenSilentlyMsal()protected com.microsoft.aad.msal4j.IAuthenticationResultacquireNewAccessToken()protected abstract com.microsoft.aad.msal4j.IConfidentialClientApplicationgetClientApplication()protected voidinitializeWithCloudInfo(CloudInfo cloudInfo)-
Methods inherited from class com.microsoft.azure.kusto.data.auth.MsalTokenProviderBase
acquireAccessTokenImpl, acquireAccessTokenSilently
-
Methods inherited from class com.microsoft.azure.kusto.data.auth.CloudDependentTokenProviderBase
acquireAccessToken
-
-
-
-
Method Detail
-
initializeWithCloudInfo
protected void initializeWithCloudInfo(CloudInfo cloudInfo) throws DataClientException, DataServiceException
- Overrides:
initializeWithCloudInfoin classMsalTokenProviderBase- Throws:
DataClientExceptionDataServiceException
-
acquireNewAccessToken
protected com.microsoft.aad.msal4j.IAuthenticationResult acquireNewAccessToken() throws DataServiceException- Specified by:
acquireNewAccessTokenin classMsalTokenProviderBase- Throws:
DataServiceException
-
acquireAccessTokenSilentlyMsal
protected com.microsoft.aad.msal4j.IAuthenticationResult acquireAccessTokenSilentlyMsal() throws MalformedURLException, InterruptedException, ExecutionException, TimeoutException- Specified by:
acquireAccessTokenSilentlyMsalin classMsalTokenProviderBase- Throws:
MalformedURLExceptionInterruptedExceptionExecutionExceptionTimeoutException
-
getClientApplication
protected abstract com.microsoft.aad.msal4j.IConfidentialClientApplication getClientApplication() throws MalformedURLException- Throws:
MalformedURLException
-
-