Class DeviceAuthTokenProvider
- 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.PublicAppTokenProviderBase
-
- com.microsoft.azure.kusto.data.auth.DeviceAuthTokenProvider
-
public class DeviceAuthTokenProvider extends PublicAppTokenProviderBase
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.kusto.data.auth.PublicAppTokenProviderBase
clientAppId, clientApplication
-
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
-
-
Constructor Summary
Constructors Constructor Description DeviceAuthTokenProvider(@NotNull String clusterUrl, String authorityId, @Nullable org.apache.http.client.HttpClient httpClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.microsoft.aad.msal4j.IAuthenticationResultacquireNewAccessToken()-
Methods inherited from class com.microsoft.azure.kusto.data.auth.PublicAppTokenProviderBase
acquireAccessTokenSilentlyMsal, initializeWithCloudInfo
-
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
-
-
-
-
Constructor Detail
-
DeviceAuthTokenProvider
public DeviceAuthTokenProvider(@NotNull @NotNull String clusterUrl, String authorityId, @Nullable @Nullable org.apache.http.client.HttpClient httpClient) throws URISyntaxException- Throws:
URISyntaxException
-
-
Method Detail
-
acquireNewAccessToken
protected com.microsoft.aad.msal4j.IAuthenticationResult acquireNewAccessToken()
- Specified by:
acquireNewAccessTokenin classMsalTokenProviderBase
-
-