Package | Description |
---|---|
com.microsoft.azure.datalake.store |
The main Azure Data Lake Store SDK classes.
|
com.microsoft.azure.datalake.store.oauth2 |
Classes to help fetch and manage Azure ActiveDirectory tokens
|
Modifier and Type | Method and Description |
---|---|
static ADLStoreClient |
ADLStoreClient.createClient(String accountFQDN,
AzureADToken token)
gets an
ADLStoreClient object. |
void |
ADLStoreClient.updateToken(AzureADToken token)
update token on existing client.
|
Modifier and Type | Field and Description |
---|---|
protected AzureADToken |
AccessTokenProvider.token |
Modifier and Type | Method and Description |
---|---|
AzureADToken |
AccessTokenProvider.getToken()
returns the
AzureADToken cached (or retrieved) by this instance. |
static AzureADToken |
AzureADAuthenticator.getTokenFromMsi(int localPort,
String tenantGuid)
Deprecated.
Deprecated, use the other overloads instead. With the change to the way MSI is done in
Azure Active Directory, the parameters on this call (localPort) are not relevant anymore.
|
static AzureADToken |
AzureADAuthenticator.getTokenFromMsi(String tenantGuid,
String clientId,
boolean bypassCache)
Gets AAD token from the local virtual machine's VM extension.
|
static AzureADToken |
AzureADAuthenticator.getTokenUsingClientCreds(String authEndpoint,
String clientId,
String clientSecret)
gets Azure Active Directory token using the user ID and password of a service principal (that is, Web App
in Azure Active Directory).
|
static AzureADToken |
AzureADAuthenticator.getTokenUsingRefreshToken(String clientId,
String refreshToken)
gets Azure Active Directory token using refresh token
|
static AzureADToken |
AzureADAuthenticator.getTokenUsingUserCreds(String clientId,
String username,
String password)
Deprecated.
Due to security concerns with user ID and password,this auth method is deprecated. Please use
device code authentication instead for interactive user-based authentication.
|
protected AzureADToken |
UserPasswordTokenProvider.refreshToken() |
protected AzureADToken |
RefreshTokenBasedTokenProvider.refreshToken() |
protected AzureADToken |
MsiTokenProvider.refreshToken() |
protected AzureADToken |
DeviceCodeTokenProvider.refreshToken() |
protected AzureADToken |
ClientCredsTokenProvider.refreshToken() |
protected abstract AzureADToken |
AccessTokenProvider.refreshToken()
the method to fetch the access token.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.