- AadCredentialBuilderBase<T extends AadCredentialBuilderBase<T>> - Class in com.azure.identity
-
The base class for credential builders that allow specifying a client ID and tenant ID for an Azure Active Directory.
- AadCredentialBuilderBase() - Constructor for class com.azure.identity.AadCredentialBuilderBase
-
- addAll(Collection<? extends TokenCredential>) - Method in class com.azure.identity.ChainedTokenCredentialBuilder
-
- addFirst(TokenCredential) - Method in class com.azure.identity.ChainedTokenCredentialBuilder
-
Adds a credential to try to authenticate at the front of the chain.
- addLast(TokenCredential) - Method in class com.azure.identity.ChainedTokenCredentialBuilder
-
Adds a credential to try to authenticate at the last of the chain.
- allowMultiTenantAuthentication() - Method in class com.azure.identity.CredentialBuilderBase
-
Allows to override the tenant being used in the authentication request
via TokenRequestContextExperimental.setTenantId(String)
.
- ASIA_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "eastasia" region.
- ASIA_SOUTH_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "southeastasia" region.
- AUSTRALIA_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "australiacentral" region.
- AUSTRALIA_CENTRAL2 - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "australiacentral2" region.
- AUSTRALIA_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "australiaeast" region.
- AUSTRALIA_SOUTH_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "australiasoutheast" region.
- authenticate(TokenRequestContext) - Method in class com.azure.identity.DeviceCodeCredential
-
Authenticates a user via the device code flow.
- authenticate() - Method in class com.azure.identity.DeviceCodeCredential
-
Authenticates a user via the device code flow.
- authenticate(TokenRequestContext) - Method in class com.azure.identity.InteractiveBrowserCredential
-
Interactively authenticates a user via the default browser.
- authenticate() - Method in class com.azure.identity.InteractiveBrowserCredential
-
Interactively authenticates a user via the default browser.
- authenticate(TokenRequestContext) - Method in class com.azure.identity.UsernamePasswordCredential
-
Authenticates the user using the specified username and password.
- authenticate() - Method in class com.azure.identity.UsernamePasswordCredential
-
Authenticates the user using the specified username and password.
- AuthenticationRecord - Class in com.azure.identity
-
Represents the account information relating to an authentication request
- authenticationRecord(AuthenticationRecord) - Method in class com.azure.identity.DeviceCodeCredentialBuilder
-
- authenticationRecord(AuthenticationRecord) - Method in class com.azure.identity.InteractiveBrowserCredentialBuilder
-
- authenticationRecord(AuthenticationRecord) - Method in class com.azure.identity.SharedTokenCacheCredentialBuilder
-
- AuthenticationRequiredException - Exception in com.azure.identity
-
The exception thrown to indicate that interactive authentication is required.
- AuthenticationRequiredException(String, TokenRequestContext) - Constructor for exception com.azure.identity.AuthenticationRequiredException
-
- AuthenticationRequiredException(String, TokenRequestContext, Throwable) - Constructor for exception com.azure.identity.AuthenticationRequiredException
-
- authorityHost(String) - Method in class com.azure.identity.AadCredentialBuilderBase
-
Specifies the Azure Active Directory endpoint to acquire tokens.
- authorityHost(String) - Method in class com.azure.identity.AzureApplicationCredentialBuilder
-
Specifies the Azure Active Directory endpoint to acquire tokens.
- authorityHost(String) - Method in class com.azure.identity.DefaultAzureCredentialBuilder
-
Specifies the Azure Active Directory endpoint to acquire tokens.
- authorityHost(String) - Method in class com.azure.identity.EnvironmentCredentialBuilder
-
Specifies the Azure Active Directory endpoint to acquire tokens.
- authorizationCode(String) - Method in class com.azure.identity.AuthorizationCodeCredentialBuilder
-
Sets the authorization code on the builder.
- AuthorizationCodeCredential - Class in com.azure.identity
-
An AAD credential that acquires a token with an Oauth 2.0 authorization code grant
for an AAD application.
- AuthorizationCodeCredentialBuilder - Class in com.azure.identity
-
- AuthorizationCodeCredentialBuilder() - Constructor for class com.azure.identity.AuthorizationCodeCredentialBuilder
-
- AUTO_DISCOVER_REGION - Static variable in class com.azure.identity.RegionalAuthority
-
In cases where the region is not known ahead of time, attempts to automatically discover the appropriate
regional authority.
- AZURE_CHINA - Static variable in class com.azure.identity.AzureAuthorityHosts
-
The host of the Azure Active Directory authority for tenants in the Azure China Cloud.
- AZURE_GERMANY - Static variable in class com.azure.identity.AzureAuthorityHosts
-
The host of the Azure Active Directory authority for tenants in the Azure German Cloud.
- AZURE_GOVERNMENT - Static variable in class com.azure.identity.AzureAuthorityHosts
-
The host of the Azure Active Directory authority for tenants in the Azure US Government Cloud.
- AZURE_PUBLIC_CLOUD - Static variable in class com.azure.identity.AzureAuthorityHosts
-
The host of the Azure Active Directory authority for tenants in the Azure Public Cloud.
- AzureApplicationCredential - Class in com.azure.identity
-
Creates a credential using environment variables for Azure hosted Environments.
- AzureApplicationCredentialBuilder - Class in com.azure.identity
-
- AzureApplicationCredentialBuilder() - Constructor for class com.azure.identity.AzureApplicationCredentialBuilder
-
Creates an instance of a AzureApplicationCredentialBuilder.
- AzureAuthorityHosts - Class in com.azure.identity
-
Defines fields exposing the well known authority hosts for the Azure Public Cloud and sovereign clouds.
- AzureCliCredential - Class in com.azure.identity
-
A credential provider that provides token credentials based on Azure CLI
command.
- AzureCliCredentialBuilder - Class in com.azure.identity
-
- AzureCliCredentialBuilder() - Constructor for class com.azure.identity.AzureCliCredentialBuilder
-
- AzurePowerShellCredential - Class in com.azure.identity
-
A credential provider that provides token credentials based on Azure Power Shell command.
- AzurePowerShellCredentialBuilder - Class in com.azure.identity
-
- AzurePowerShellCredentialBuilder() - Constructor for class com.azure.identity.AzurePowerShellCredentialBuilder
-
- CANADA_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "canadacentral" region.
- CANADA_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "canadaeast" region.
- ChainedTokenCredential - Class in com.azure.identity
-
A token credential provider that can provide a credential from a list of providers.
- ChainedTokenCredentialBuilder - Class in com.azure.identity
-
- ChainedTokenCredentialBuilder() - Constructor for class com.azure.identity.ChainedTokenCredentialBuilder
-
Creates an instance of the builder to config the credential.
- challengeConsumer(Consumer<DeviceCodeInfo>) - Method in class com.azure.identity.DeviceCodeCredentialBuilder
-
Sets the consumer to meet the device code challenge.
- CHINA_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "chinaeast" region.
- CHINA_EAST2 - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "chinaeast2" region.
- CHINA_NORTH - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "chinanorth" region.
- CHINA_NORTH2 - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "chinanorth2" region.
- ClientCertificateCredential - Class in com.azure.identity
-
An AAD credential that acquires a token with a client certificate for an AAD application.
- ClientCertificateCredentialBuilder - Class in com.azure.identity
-
- ClientCertificateCredentialBuilder() - Constructor for class com.azure.identity.ClientCertificateCredentialBuilder
-
- clientId(String) - Method in class com.azure.identity.AadCredentialBuilderBase
-
Sets the client ID of the application.
- clientId(String) - Method in class com.azure.identity.ManagedIdentityCredentialBuilder
-
Specifies the client ID of user assigned or system assigned identity.
- clientSecret(String) - Method in class com.azure.identity.AuthorizationCodeCredentialBuilder
-
Sets the client secret for the authentication.
- clientSecret(String) - Method in class com.azure.identity.ClientSecretCredentialBuilder
-
Sets the client secret for the authentication.
- clientSecret(String) - Method in class com.azure.identity.OnBehalfOfCredentialBuilder
-
Sets the client secret for the authentication.
- ClientSecretCredential - Class in com.azure.identity
-
An AAD credential that acquires a token with a client secret for an AAD application.
- ClientSecretCredentialBuilder - Class in com.azure.identity
-
- ClientSecretCredentialBuilder() - Constructor for class com.azure.identity.ClientSecretCredentialBuilder
-
- com.azure.identity - package com.azure.identity
-
Package containing various types of credentials and classes
for retrieving access tokens from various configurations.
- configuration(Configuration) - Method in class com.azure.identity.EnvironmentCredentialBuilder
-
Sets the configuration store that is used during construction of the credential.
- CredentialBuilderBase<T extends CredentialBuilderBase<T>> - Class in com.azure.identity
-
The base class for all the credential builders.
- CredentialUnavailableException - Exception in com.azure.identity
-
The exception thrown when a TokenCredential
did not attempt to authenticate and retrieve AccessToken
,
as its prerequisite information or state was not available.
- CredentialUnavailableException(String) - Constructor for exception com.azure.identity.CredentialUnavailableException
-
- CredentialUnavailableException(String, Throwable) - Constructor for exception com.azure.identity.CredentialUnavailableException
-
- GERMANY_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "germanycentral" region.
- GERMANY_NORTH - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "germanynorth" region.
- GERMANY_NORTH_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "germanynortheast" region.
- GERMANY_WEST_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "germanywestcentral" region.
- getAuthority() - Method in class com.azure.identity.AuthenticationRecord
-
Get the authority host used to authenticate the account.
- getClientId() - Method in class com.azure.identity.AuthenticationRecord
-
Get the client id of the application used for authentication.
- getClientId() - Method in class com.azure.identity.ManagedIdentityCredential
-
Gets the client ID of user assigned or system assigned identity.
- getDeviceCode() - Method in class com.azure.identity.DeviceCodeInfo
-
Gets the code which should be included in the request for the access token.
- getExpiresOn() - Method in class com.azure.identity.DeviceCodeInfo
-
Gets the expiration time of device code.
- getHomeAccountId() - Method in class com.azure.identity.AuthenticationRecord
-
Get the unique identifier of the account.
- getMessage() - Method in class com.azure.identity.DeviceCodeInfo
-
Gets the message which should be displayed to the user.
- getName() - Method in class com.azure.identity.TokenCachePersistenceOptions
-
Get the name uniquely identifying the cache.
- getTenantId() - Method in class com.azure.identity.AuthenticationRecord
-
Get the tenant, which the account authenticated in.
- getToken(TokenRequestContext) - Method in class com.azure.identity.AuthorizationCodeCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.AzureCliCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.AzurePowerShellCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.ChainedTokenCredential
-
Sequentially calls TokenCredential.getToken(TokenRequestContext)
on all the specified credentials,
returning the first successfully obtained AccessToken
.
- getToken(TokenRequestContext) - Method in class com.azure.identity.ClientCertificateCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.ClientSecretCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.DeviceCodeCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.EnvironmentCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.IntelliJCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.InteractiveBrowserCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.ManagedIdentityCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.OnBehalfOfCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.SharedTokenCacheCredential
-
Gets token from shared token cache
- getToken(TokenRequestContext) - Method in class com.azure.identity.UsernamePasswordCredential
-
- getToken(TokenRequestContext) - Method in class com.azure.identity.VisualStudioCodeCredential
-
- getTokenRequestContext() - Method in exception com.azure.identity.AuthenticationRequiredException
-
Get the details of the authentication request which resulted in the authentication failure.
- getUserCode() - Method in class com.azure.identity.DeviceCodeInfo
-
Gets the code which user needs to provide when authenticating at the verification URL.
- getUsername() - Method in class com.azure.identity.AuthenticationRecord
-
Get the user principal name of the account.
- getVerificationUrl() - Method in class com.azure.identity.DeviceCodeInfo
-
Gets the URL where user can authenticate.
- GOVERNMENT_US_ARIZONA - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usgovarizona" region.
- GOVERNMENT_US_DOD_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usdodcentral" region.
- GOVERNMENT_US_DOD_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usdodeast" region.
- GOVERNMENT_US_IOWA - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usgoviowa" region.
- GOVERNMENT_US_TEXAS - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usgovtexas" region.
- GOVERNMENT_US_VIRGINIA - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "usgovvirginia" region.
- UAE_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "uaecentral" region.
- UAE_NORTH - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "uaenorth" region.
- UK_SOUTH - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "uksouth" region.
- UK_WEST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "ukwest" region.
- US_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "centralus" region.
- US_EAST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "eastus" region.
- US_EAST2 - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "eastus2" region.
- US_NORTH_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "northcentralus" region.
- US_SOUTH_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "southcentralus" region.
- US_WEST - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "westus" region.
- US_WEST2 - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "westus2" region.
- US_WEST_CENTRAL - Static variable in class com.azure.identity.RegionalAuthority
-
The regional authority for the Azure "westcentralus" region.
- userAssertion(String) - Method in class com.azure.identity.OnBehalfOfCredentialBuilder
-
Configure the User Assertion Scope to be used for OnBehalfOf Authentication request.
- username(String) - Method in class com.azure.identity.SharedTokenCacheCredentialBuilder
-
Sets the username for the account.
- username(String) - Method in class com.azure.identity.UsernamePasswordCredentialBuilder
-
Sets the username of the user.
- UsernamePasswordCredential - Class in com.azure.identity
-
An AAD credential that acquires a token with a username and a password.
- UsernamePasswordCredentialBuilder - Class in com.azure.identity
-
- UsernamePasswordCredentialBuilder() - Constructor for class com.azure.identity.UsernamePasswordCredentialBuilder
-