Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

SecureCookiesFilter Class

Filter that can be used to ensure cookies are secured using GDPR compliant encryption

Namespace:  Walter.Web.FireWall.Filters
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public class SecureCookiesFilter

Examples


Enable the firewall to always secure cookies by setting the firewall on all requests
Use the filters to enable the firewall to work with all endpoints in your application
services.AddMvc(options => {
   options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>();
   options.Filters.Add<Walter.Web.FireWall.Filters.SecureCookiesFilter>();
});

See Also


[AllMembers.T:Walter.Web.FireWall.Filters.SecureCookiesFilter] Members
[IUserIdentity.WriteCookieAsync(string, string, TimeSpan, bool, System.Threading.CancellationToken)]