Package version:

Interface VisualStudioCodeCredentialOptions

Provides options to configure the Visual Studio Code credential.

This credential is deprecated because the VS Code Azure Account extension on which this credential relies has been deprecated. Users should use other dev-time credentials, such as AzureCliCredential, AzureDeveloperCliCredential, or AzurePowerShellCredential for their local development needs. See Azure Account extension deprecation notice here.

interface VisualStudioCodeCredentialOptions {
    additionallyAllowedTenants?: {};
    authorityHost?: string;
    loggingOptions?: any;
    tenantId?: string;
}

Hierarchy (view full)

Properties

additionallyAllowedTenants?: {}

For multi-tenant applications, specifies additional tenants for which the credential may acquire tokens. Add the wildcard value "*" to allow the credential to acquire tokens for any tenant the application is installed.

authorityHost?: string

The authority host to use for authentication requests. Possible values are available through AzureAuthorityHosts. The default is "https://login.microsoftonline.com".

loggingOptions?: any

Allows users to configure settings for logging policy options, allow logging account information and personally identifiable information for customer support.

tenantId?: string

Optionally pass in a Tenant ID to be used as part of the credential