Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultAzureCredential

Package version

Provides a default ChainedTokenCredential configuration for applications that will be deployed to Azure. The following credential types will be tried, in order: 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.

Consult the documentation of these credential types for more information on how they attempt authentication.

Hierarchy

Implements

  • any
  • any

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected UnavailableMessage

UnavailableMessage: string = "ChainedTokenCredential => failed to retrieve a token from the included credentials"

The message to use when the chained token fails to get a token

Methods

getToken

  • getToken(scopes: string | string[], options?: GetTokenOptions): Promise<AccessToken | null>

Generated using TypeDoc