com.azure.identity
Package containing various types of credentials and classes for retrieving access tokens from various configurations.
Classes
AadCredentialBuilderBase<T> |
The base class for credential builders that allow specifying a client ID and tenant ID for an Azure Active Directory. |
AuthenticationRecord |
Represents the account information relating to an authentication request |
AuthenticationRequiredException |
The exception thrown to indicate that interactive authentication is required. |
AuthorizationCodeCredential |
An AAD credential that acquires a token with an Oauth 2.0 authorization code grant for an AAD application. |
AuthorizationCodeCredentialBuilder |
Fluent credential builder for instantiating a AuthorizationCodeCredential. |
AzureAuthorityHosts |
Defines fields exposing the well known authority hosts for the Azure Public Cloud and sovereign clouds. |
AzureCliCredential |
A credential provider that provides token credentials based on Azure CLI command. |
AzureCliCredentialBuilder |
Fluent credential builder for instantiating a AzureCliCredential. |
AzurePowerShellCredential |
A credential provider that provides token credentials based on Azure Power |
AzurePowerShellCredentialBuilder |
Fluent credential builder for instantiating a AzurePowerShellCredential. |
ChainedTokenCredential |
A token credential provider that can provide a credential from a list of providers. |
ChainedTokenCredentialBuilder |
Fluent credential builder for instantiating a ChainedTokenCredential. |
ClientAssertionCredential |
Authenticates a service principal with AAD using a client assertion. |
ClientAssertionCredentialBuilder |
Fluent credential builder for instantiating a ClientAssertionCredential. |
ClientCertificateCredential |
An AAD credential that acquires a token with a client certificate for an AAD application. |
ClientCertificateCredentialBuilder |
Fluent credential builder for instantiating a ClientCertificateCredential. |
ClientSecretCredential |
An AAD credential that acquires a token with a client secret for an AAD application. |
ClientSecretCredentialBuilder |
Fluent credential builder for instantiating a ClientSecretCredential. |
CredentialBuilderBase<T> |
The base class for all the credential builders. |
CredentialUnavailableException |
The exception thrown when a TokenCredential did not attempt to authenticate and retrieve AccessToken, as its prerequisite information or state was not available. |
DefaultAzureCredential |
Creates a credential using environment variables or the shared token cache. |
DefaultAzureCredentialBuilder |
Fluent credential builder for instantiating a DefaultAzureCredential. |
DeviceCodeCredential |
An AAD credential that acquires a token with a device code for an AAD application. |
DeviceCodeCredentialBuilder |
Fluent credential builder for instantiating a DeviceCodeCredential. |
DeviceCodeInfo |
Response returned from the STS device code endpoint containing information necessary for device code flow. |
EnvironmentCredential |
A credential provider that provides token credentials based on environment variables. |
EnvironmentCredentialBuilder |
Fluent credential builder for instantiating a EnvironmentCredential. |
IntelliJCredential |
A credential provider that provides token credentials from Azure Tools for IntelliJ plugin credential cache. |
IntelliJCredentialBuilder |
Fluent credential builder for instantiating a IntelliJCredential. |
InteractiveBrowserCredential |
An AAD credential that acquires a token for an AAD application by prompting the login in the default browser. |
InteractiveBrowserCredentialBuilder |
Fluent credential builder for instantiating a InteractiveBrowserCredential. |
ManagedIdentityCredential |
The base class for Managed Service Identity token based credentials. |
ManagedIdentityCredentialBuilder |
Fluent credential builder for instantiating a ManagedIdentityCredential. |
OnBehalfOfCredential |
An AAD credential that acquires a token with a client secret and user assertion for an AAD application on behalf of a user principal. |
OnBehalfOfCredentialBuilder |
Fluent credential builder for instantiating a OnBehalfOfCredential. |
SharedTokenCacheCredential |
A credential provider that provides token credentials from the MSAL shared token cache. |
SharedTokenCacheCredentialBuilder |
Fluent credential builder for instantiating a SharedTokenCacheCredential. |
TokenCachePersistenceOptions |
Represents the Persistence Token Cache options used to setup the persistent access token cache. |
UsernamePasswordCredential |
An AAD credential that acquires a token with a username and a password. |
UsernamePasswordCredentialBuilder |
Fluent credential builder for instantiating a UsernamePasswordCredential. |
VisualStudioCodeCredential |
Enables authentication to Azure Active Directory as the user signed in to Visual Studio Code via the 'Azure Account' extension. |
VisualStudioCodeCredentialBuilder |
Fluent credential builder for instantiating a VisualStudioCodeCredential. |