VisualStudioCodeCredential Class
- java.
lang. Object - com.
azure. identity. VisualStudioCodeCredential
- com.
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:
- Install the Azure Resources extension in Visual Studio Code and sign in using the Azure: Sign In command.
- Add the azure-identity-broker dependency to your project's build configuration.
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Access |
getToken(TokenRequestContext request) |
Methods inherited from java.lang.Object
Method Details
getToken
public Mono<AccessToken> getToken(TokenRequestContext request)
Parameters: