Best way to create,store and update TokenCache in AEM
Hey, I am integrating Azure MSAL 4J with AEM as Cloud Service(Publish Instance) for SSO Authentication. To store the session for longer times I have to implement a token cache which creates a serialized_cache.json file and gets the session if this is available. here is the documentation reference I am trying to implement:
What is the best way to create/store/update this file from AEM? Is there a way we can store this in AEM runtime? any examples - Does AEM as Cloud service provide any features to store this(Environment Variables)?