Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ITokenCache Interface

Package:
com.microsoft.aad.msal4j
Maven Artifact:
com.microsoft.azure:msal4j:1.19.1

public interface ITokenCache

Interface representing security token cache persistence

For more details, see https://aka.ms/msal4j-token-cache

Method Summary

Modifier and Type Method and Description
abstract void deserialize(String data)

Deserialize token cache from json

abstract java.lang.String serialize()

Serialize token cache to json

Method Details

deserialize

public abstract void deserialize(String data)

Deserialize token cache from json

Parameters:

data - serialized cache in json format

serialize

public abstract String serialize()

Serialize token cache to json

Returns:

serialized cache in json format

Applies to