VisualStudioCodeCredential Class

Definition

Enables authentication to Azure Active Directory using data from Visual Studio Code.

public class VisualStudioCodeCredential : Azure.Core.TokenCredential
type VisualStudioCodeCredential = class
    inherit TokenCredential
Public Class VisualStudioCodeCredential
Inherits TokenCredential
Inheritance
VisualStudioCodeCredential

Constructors

VisualStudioCodeCredential()

Creates a new instance of the VisualStudioCodeCredential.

VisualStudioCodeCredential(VisualStudioCodeCredentialOptions)

Creates a new instance of the VisualStudioCodeCredential with the specified options.

Methods

GetToken(TokenRequestContext, CancellationToken)

Gets an AccessToken for the specified set of scopes.

GetTokenAsync(TokenRequestContext, CancellationToken)

Gets an AccessToken for the specified set of scopes.

Applies to