Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ITokenCacheAccessContext Interface
- Package:
- com.microsoft.aad.msal4j
- Maven Artifact:
- com.microsoft.azure:msal4j:1.19.1
public interface ITokenCacheAccessContext
Interface representing context in which the token cache is accessed
For more details, see https://aka.ms/msal4j-token-cache
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract IAccount | account() |
| abstract java.lang.String | clientId() |
| abstract boolean | hasCacheChanged() |
| abstract ITokenCache | tokenCache() |
Method Details
account
public abstract IAccount account()
Returns:
instance of IAccount used for cache access
clientId
public abstract String clientId()
Returns:
client id used for cache access
hasCacheChanged
public abstract boolean hasCacheChanged()
Returns:
a boolean value telling whether cache was changed
tokenCache
public abstract ITokenCache tokenCache()
Returns:
instance of accessed ITokenCache
