Creates an instance of the DefaultAzureCredential class.
Returns the first {@link AccessToken} returned by one of the chained {@link TokenCredential} implementations. Throws an AggregateAuthenticationError when one or more credentials throws an AuthenticationError and no credentials have returned an {@link AccessToken}.
The list of scopes for which the token will have access.
The options used to configure any requests this TokenCredential implementation might make.
Generated using TypeDoc
Provides a default ChainedTokenCredential configuration for applications that will be deployed to Azure. The following credential types will be tried, in order:
Consult the documentation of these credential types for more information on how they attempt authentication.