Delen via


ITokenCacheAccessContext Interface

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

Applies to