AzureAD / microsoft-authentication-extensions-for-go

Secure cross-platform token cache for MSAL public client apps
MIT License
1 stars 1 forks source link

Create CrossplatformLock #5

Closed abhidnya13 closed 1 year ago

abhidnya13 commented 3 years ago

The .NET library relies on taking write-only locks on a file separate used as a semaphore to ensure that Cache operations do not race each other. That logic is found here: CrossPlatLock class

This is needed before any of the platform specific Token Caches, such as the one represented in #2,#3,#4