Partager via


ITokenCache Interface

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