-
Notifications
You must be signed in to change notification settings - Fork 334
Allow OWIN hosts and applications to register default ICookieManager instances #486
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
Conversation
962bd1e
to
4061b1b
Compare
|
||
if (manager is null) | ||
{ | ||
app.Properties.Remove("infrastructure.CookieManager"); |
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.
Use constants for the key names.
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.
Done. I also updated the title to better reflect that these extensions can also be used by applications (and not just hosts) to override the default cookie managers.
20aadab
to
1d84906
Compare
1d84906
to
e863f3a
Compare
Looks like the |
Thanks |
I probably won't ship this right away, more likely in January. Try the nightly builds? |
I will 😃 (I tested with the sandbox app when preparing this PR and the SystemWeb cookie manager was correctly resolved) |
Related: #485.
/cc @Tratcher