Azure-Samples / Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi
Why we need `ReaderWriterLockSlim` in OpenIdConnectCachingSecurityTokenProvider?
Open
- Dominant language
- JavaScript
- Stars
- 282
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
The class `OpenIdConnectCachingSecurityTokenProvider` uses read/write lock of `ReaderWriterLockSlim` before get issuer and keys. I am wondering, why we need to use lock here? and what happen if we don't?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.