SharedTokenCacheCredential Class
- java.
lang. Object - com.
azure. identity. SharedTokenCacheCredential
- com.
Implements
public class SharedTokenCacheCredential
implements TokenCredential
A credential provider that provides token credentials from the MSAL shared token cache. Requires a username and client ID. If a username is not provided, then the AZURE_USERNAME environment variable will be used.
This credential is a legacy mechanism for authenticating clients using credentials provided to Visual Studio.
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Access |
getToken(TokenRequestContext request)
Gets token from shared token cache |
Methods inherited from java.lang.Object
Method Details
getToken
public Mono
Gets token from shared token cache
Parameters:
request
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java