You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
Following offline talk with Bogdan, we agreed that it is better instead of deprecating the MsalCacheHelper.Clear() method, to change its behavior that it will only clear the cache entries relevant to the specific public client application id that the MsalCacheHelper object was created with, and not whole entries in the cache file itself.
The text was updated successfully, but these errors were encountered:
Problem is that MsalCacheHelper is constructed with a client_id however Clear() method simply removes the data file, i.e. clears the cache for all client_id.
I will have removed the need to pass in the client_id to the cache with the associated PR. So with next release - 2.18.0 - you can have a single instance of MsalCacheHelper.
To sign out users, you need to use MSAL i.e. call RemoveAccountAsync. Wiping out the token cache file is discouraged, we will only keep the method for backwards compatibility reasons.
Following offline talk with Bogdan, we agreed that it is better instead of deprecating the MsalCacheHelper.Clear() method, to change its behavior that it will only clear the cache entries relevant to the specific public client application id that the MsalCacheHelper object was created with, and not whole entries in the cache file itself.
The text was updated successfully, but these errors were encountered: