This website requires JavaScript.
Explore
Help
Register
Sign In
yv01p
/
Umbraco-CMS
Watch
1
Star
0
Fork
0
You've already forked Umbraco-CMS
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
6c624ca08a69a98f1062b337b8def5beb75f4e1f
Umbraco-CMS
/
src
/
Umbraco.Web
/
HttpCookieExtensions.cs
Shannon
555b520a0c
Cleans up the usages of auth cookies. OWIN is in charge of auth cookies but because we have Webforms, WebApi, MVC and OWIN, they all like to deal with cookies differently. OWIN should still be solely in charge of the auth cookies, so the auth extensions are cleaned up, the renewal now works by queuing the renewal and we have custom middleware detect if a force renewal has been queued and we renew the auth cookie there. Have obsoleted a few methods that should not be used that write auth tickets directly (this is purely for backwards compat with webforms). All of these changes now ensure that the auth cookie is renewed consistently between Webforms, WebApi, MVC and OWIN. Some changes also include ensuring that OWIN is used to sign out.
2015-11-19 18:12:21 +01:00
3.4 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink