Skip to content

Commit

Permalink
Move type out of aspnetcore folder (#2154)
Browse files Browse the repository at this point in the history
conditional compile for targets

Co-authored-by: Keegan Caruso <keegancaruso@microsoft.com>
  • Loading branch information
keegan-caruso and Keegan Caruso authored Mar 28, 2023
1 parent 3b09929 commit d2df352
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ public MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddInMemoryTokenCach
Services.AddMemoryCache();
}

# if NET6_0_OR_GREATER || NETCOREAPP3_1
Services.AddHttpContextAccessor();
#endif
Services.TryAddSingleton<IMsalTokenCacheProvider, MsalMemoryTokenCacheProvider>();
return this;
}
Expand Down

0 comments on commit d2df352

Please sign in to comment.