public class DeviceAuthTokenProvider extends PublicAppTokenProviderBase
| Modifier and Type | Field and Description |
|---|---|
static String |
DEVICE_AUTH_TOKEN_PROVIDER |
clientAppId, clientApplicationaadAuthorityUrl, ERROR_ACQUIRING_APPLICATION_ACCESS_TOKEN, ERROR_INVALID_AUTHORITY_URL, ORGANIZATION_URI_SUFFIX, TIMEOUT_MSscopesclusterUrl, httpClient, logger| Constructor and Description |
|---|
DeviceAuthTokenProvider(@NotNull String clusterUrl,
String authorityId,
@Nullable org.apache.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
protected com.microsoft.aad.msal4j.IAuthenticationResult |
acquireNewAccessToken() |
protected String |
getAuthMethod() |
acquireAccessTokenSilentlyMsal, initializeWithCloudInfoacquireAccessTokenImpl, acquireAccessTokenSilentlygetTracingAttributesacquireAccessTokenpublic static final String DEVICE_AUTH_TOKEN_PROVIDER
public DeviceAuthTokenProvider(@NotNull
@NotNull String clusterUrl,
String authorityId,
@Nullable
@Nullable org.apache.http.client.HttpClient httpClient)
throws URISyntaxException
URISyntaxExceptionprotected com.microsoft.aad.msal4j.IAuthenticationResult acquireNewAccessToken()
acquireNewAccessToken in class MsalTokenProviderBaseprotected String getAuthMethod()
getAuthMethod in class TokenProviderBaseCopyright © 2023. All rights reserved.