cyberark / conjur-api-dotnet

.NET client for the CyberArk Conjur API
Apache License 2.0
15 stars 11 forks source link

Improve thread-safety of the API key authenticator #7

Closed dividedmind closed 6 years ago

dividedmind commented 6 years ago

Please review and approve, I'll do the merging. Thanks!

sashaCher commented 6 years ago

I think that second use of Interlocked is unnecessary because we are already in single thread context due to lock. Except this I think that all is good