Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

VisualStudioCodeCredential Class

Package:
com.azure.identity
Maven Artifact:
com.azure:azure-identity:1.18.3
  • java.lang.Object
    • com.azure.identity.VisualStudioCodeCredential

Implements

public class VisualStudioCodeCredential
implements TokenCredential

Enables authentication to Microsoft Entra ID using the user account signed in through the Azure Resources extension in Visual Studio Code.

Prerequisites:

  1. Install the Azure Resources extension in Visual Studio Code and sign in using the Azure: Sign In command.
  2. Add the azure-identity-broker dependency to your project's build configuration.

Method Summary

Modifier and Type Method and Description
reactor.core.publisher.Mono<AccessToken> getToken(TokenRequestContext request)

Methods inherited from java.lang.Object

Method Details

getToken

public Mono<AccessToken> getToken(TokenRequestContext request)

Parameters:

request

Applies to


Feedback

Was this page helpful?