Class SharedTokenCacheCredential

java.lang.Object
com.azure.identity.SharedTokenCacheCredential
All Implemented Interfaces:
TokenCredential

public class SharedTokenCacheCredential extends Object 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 Details