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 was archived by the owner on Jun 16, 2025. It is now read-only.
Demonstrated implementation on ITokenCacheAccessAspect does not make much sense.
Token cache is initialized from file with "dummy data", after it, in-memory "data" defined in TokenCacheAspect
is used. So file is used to read "dummy data" and it is never updated. That does not make sense.
Using in-memory cache defined in TokenCacheAspect is pointless, because MSAL application has its own in-memory token cache.
I do not think we should show how to implement persistent cache in scope of this sample, it is quite complicated and should :
demonstrate real use case ( as I explained current implementation does not make sense )
cover security
concurrency
So I believe it is enough to use in-memory cache for the purpose of this sample
Application configurations should be in separate properties file,
hardcoding config is anti pattern.