VisualStudioCodeCredential Class
- java.
lang. Object - com.
azure. identity. VisualStudioCodeCredential
- com.
Implements
public class VisualStudioCodeCredential
implements TokenCredential
Enables authentication to Microsoft Entra ID as the user signed in to Visual Studio Code via the 'Azure Account' extension.
It's a known issue that this credential doesn't work with Azure Account extension versions newer than 0.9.11. A long-term fix to this problem is in progress. In the meantime, consider authenticating with AzureCliCredential.
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Access |
getToken(TokenRequestContext request) |
Methods inherited from java.lang.Object
Method Details
getToken
public Mono
Parameters:
request
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java