SharedTokenCacheCredential Class
- java.lang.Object
- com.azure.identity.SharedTokenCacheCredential
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.
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