Skip to content

Commit 5c0faad

Browse files
committed
Fixing build break
1 parent feb0a2e commit 5c0faad

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,6 @@
101101
/2-WebApp-graph-user/2-4-Sovereign-Call-MSGraph/bin/Release/netcoreapp2.2
102102
/Microsoft.Identity.Web.Test/bin/Release/netcoreapp2.2
103103
/Microsoft.Identity.Web.Test/obj
104+
/4-WebApp-your-API/4-2-B2C/.vs
105+
/4-WebApp-your-API/4-2-B2C/Client/obj
106+
/4-WebApp-your-API/4-2-B2C/TodoListService/obj

Diff for: Microsoft.Identity.Web/TokenCacheProviders/MsalAbstractTokenCacheProvider.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private async Task OnAfterAccessAsync(TokenCacheNotificationArgs args)
7575
// if the access operation resulted in a cache update
7676
if (args.HasStateChanged)
7777
{
78-
string cacheKey = GetCacheKey(args.IsApplicationTokenCache);
78+
string cacheKey = GetCacheKey(args.IsApplicationCache);
7979
if (!string.IsNullOrWhiteSpace(cacheKey))
8080
{
8181
await WriteCacheBytesAsync(cacheKey, args.TokenCache.SerializeMsalV3()).ConfigureAwait(false);
@@ -85,7 +85,7 @@ private async Task OnAfterAccessAsync(TokenCacheNotificationArgs args)
8585

8686
private async Task OnBeforeAccessAsync(TokenCacheNotificationArgs args)
8787
{
88-
string cacheKey = GetCacheKey(args.IsApplicationTokenCache);
88+
string cacheKey = GetCacheKey(args.IsApplicationCache);
8989

9090
if (!string.IsNullOrEmpty(cacheKey))
9191
{

0 commit comments

Comments
 (0)