Table of Contents

Class VisualStudioCodeCredentialOptions

Namespace
Azure.Identity
Assembly
Azure.Identity.dll

Options for configuring the VisualStudioCodeCredential.

public class VisualStudioCodeCredentialOptions : TokenCredentialOptions
Inheritance
VisualStudioCodeCredentialOptions
Inherited Members

Constructors

VisualStudioCodeCredentialOptions()

public VisualStudioCodeCredentialOptions()

Properties

AdditionallyAllowedTenants

Specifies tenants in addition to the specified TenantId for which the credential may acquire tokens. Add the wildcard value "*" to allow the credential to acquire tokens for any tenant the logged in account can access. If no value is specified for TenantId, this option will have no effect, and the credential will acquire tokens for any requested tenant.

public IList<string> AdditionallyAllowedTenants { get; }

Property Value

IList<string>

TenantId

The tenant ID the user will be authenticated to. If not specified, the user will be authenticated to any requested tenant, and by default to the tenant the user originally authenticated to via the Visual Studio Code Azure Account extension.

public string TenantId { get; set; }

Property Value

string