com.microsoft.aad.msal4j.ITokenCacheAccessContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.mail.outlook.auth.connector.provider
Show all versions of com.liferay.mail.outlook.auth.connector.provider
Liferay Mail Outlook Auth Connector Provider
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
/**
* Interface representing context in which the token cache is accessed
*
* For more details, see https://aka.ms/msal4j-token-cache
*/
public interface ITokenCacheAccessContext {
/**
* @return instance of accessed ITokenCache
*/
ITokenCache tokenCache();
/**
* @return client id used for cache access
*/
String clientId();
/**
* @return instance of IAccount used for cache access
*/
IAccount account();
/**
* @return a boolean value telling whether cache was changed
*/
boolean hasCacheChanged();
}