Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Authentication/Authentication/ProtectedFileTokenCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ public class ProtectedFileTokenCache : TokenCache, IAzureTokenCache
private static readonly string CacheFileName = Path.Combine(
#if !NETSTANDARD
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
Resources.OldAzureDirectoryName,
#else
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
Resources.AzureDirectoryName,
#endif
Resources.AzureDirectoryName, "TokenCache.dat");
"TokenCache.dat");

private static readonly object fileLock = new object();

Expand Down