SameSiteCookieManager Class
- Namespace:
- Weavy.Web.Owin.CookieManager
- Assembly:
- Weavy.Web.dll
Cookie Manager implementation that handles SameSite=None introduced by Google. See: https://devblogs.microsoft.com/aspnet/upcoming-samesite-cookie-changes-in-asp-net-and-asp-net-core/
public class SameSiteCookieManager : ICookieManager
- Inheritance:
- System.Object → SameSiteCookieManager
Constructors
Same |
Constructor. |
Same |
Constructor. |
Methods
Append |
Appends the requested cookie to System.Web.HttpContextBase.Response.Cookies. |
Breaks |
Decide from the user-agent if the client can handle SameSite=None. |
Delete |
Deletes the requested cookie by appending an expired cookie to System.Web.HttpContextBase.Response.Cookies. |
Get |
Reads the requested cookie from System.Web.HttpContextBase.Request.Cookies. |
Extension Methods
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |