SharedTokenCacheCredential Class

Definition

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.

public class SharedTokenCacheCredential implements TokenCredential
Inheritance
java.lang.Object
SharedTokenCacheCredential
Implements

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Methods

getToken(TokenRequestContext request)

Gets token from shared token cache

Applies to