com.microsoft.aad.msal4j.ITokenCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of msal4j Show documentation
Show all versions of msal4j Show documentation
Microsoft Authentication Library for Java gives you the ability to obtain tokens from Azure AD v2 (work and school
accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft
identities
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
/**
* Interface representing security token cache persistence
*
* For more details, see https://aka.ms/msal4j-token-cache
*/
public interface ITokenCache {
/**
* Deserialize token cache from json
*
* @param data serialized cache in json format
*/
void deserialize(String data);
/**
* Serialize token cache to json
*
* @return serialized cache in json format
*/
String serialize();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy