-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add cache extensions #1278
add cache extensions #1278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jennyf19
That's simplifying the message for token caches.
I've proposed a few changes in comments
/// </code> | ||
/// | ||
/// </example> | ||
/// <remarks>Don't use this method in ASP.NET Core. Just add use the ConfigureServices method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a 'see also' to recommend AddDistributedTokenCaches?
If you are using distributed token caches, is recommanded, or something like that? #Resolved
/// Add an in-memory well partitioned token cache to MSAL.NET confidential client | ||
/// application. Don't use this method in ASP.NET Core: rather use: | ||
/// <code>services.AddInMemoryTokenCaches()</code> in ConfigureServices. | ||
/// In net462 and net472, you'll need to reference Microsoft.Extensions.Caching.Memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think that we now do in Ms.Id.Web. So we can remove this sentence. #Resolved
} | ||
|
||
// In memory token cache | ||
// In net472, requires to reference Microsoft.Extensions.Caching.Memory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can remove this comment #Resolved
PR: #1277 |
Kudos, SonarCloud Quality Gate passed! |
No description provided.