Defines the signature of a callback which will be passed to DeviceCodeCredential for the purpose of displaying authentication details to the user.
The Error.name value of an AggregateAuthenticationError
Contains the list of all supported environment variable names so that an appropriate error message can be generated when no credentials can be configured.
The Error.name value of an AuthenticationError
The AzureLogger used for all clients within the identity package
Creates a span using the global tracer.
The options for the underlying http request.
Generates a CredentialLogger, which is a logger declared at the credential's constructor, and used at any point in the credential. It has all the properties of a CredentialLoggerInstance, plus other logger instances, one per method.
It logs with the format:
[title] => [message] [title] => getToken() => [message]
Generates a CredentialLoggerInstance.
It logs with the format:
[title] => [message]
Method that logs the user code from the DeviceCodeCredential.
The device code.
Formatting the success event on the credentials
Formatting the success event on the credentials
Returns a new instance of the DefaultAzureCredential.
Attempts to load a specific property from the VSCode configurations of the current OS. If it fails at any point, returns undefined.
Based on a given list of environment variable names, logs the environment variables currently assigned during the usage of a credential that goes by the given name.
Name of the credential in use
List of environment variables supported by that credential
Separates a list of environment variable names into a plain object with two arrays: an array of missing environment variables and another array with assigned environment variables.
List of environment variable names
Generated using TypeDoc
The "login style" to use in the authentication flow: