public class ManagedIdentityTokenProvider extends CloudDependentTokenProviderBase
| Modifier and Type | Field and Description |
|---|---|
static String |
MANAGED_IDENTITY_TOKEN_PROVIDER |
scopesclusterUrl, httpClient, logger| Constructor and Description |
|---|
ManagedIdentityTokenProvider(@NotNull String clusterUrl,
String managedIdentityClientId,
@Nullable org.apache.http.client.HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
acquireAccessTokenImpl() |
protected String |
getAuthMethod() |
protected void |
initializeWithCloudInfo(CloudInfo cloudInfo) |
getTracingAttributesacquireAccessTokenpublic static final String MANAGED_IDENTITY_TOKEN_PROVIDER
public ManagedIdentityTokenProvider(@NotNull
@NotNull String clusterUrl,
String managedIdentityClientId,
@Nullable
@Nullable org.apache.http.client.HttpClient httpClient)
throws URISyntaxException
URISyntaxExceptionprotected void initializeWithCloudInfo(CloudInfo cloudInfo) throws DataServiceException, DataClientException
initializeWithCloudInfo in class CloudDependentTokenProviderBaseDataServiceExceptionDataClientExceptionprotected String acquireAccessTokenImpl() throws DataServiceException
acquireAccessTokenImpl in class TokenProviderBaseDataServiceExceptionprotected String getAuthMethod()
getAuthMethod in class TokenProviderBaseCopyright © 2023. All rights reserved.