Open amcasey opened 2 months ago
Thank you for submitting this for API review. This will be reviewed by @dotnet/aspnet-api-review at the next meeting of the ASP.NET Core API Review group. Please ensure you take a look at the API review process documentation and ensure that:
CookiePolicyOptions
need this?
Extensions
?
ResponseCookies
because that's the lowest layer with a loggerAPI approved
namespace Microsoft.Net.Http.Headers;
public class SetCookieHeaderValue
{
+ public bool Partitioned { get; set; }
}
namespace Microsoft.AspNetCore.Http;
public class CookieBuilder
{
+ public virtual bool Partitioned { get; set; }
}
public class CookieOptions
{
+ public bool Partitioned { get; set; }
}
Thank you for submitting this for API review. This will be reviewed by @dotnet/aspnet-api-review at the next meeting of the ASP.NET Core API Review group. Please ensure you take a look at the API review process documentation and ensure that:
(Updated labels on the wrong issue.)
Background and Motivation
CHIPS is a draft for incrementally moving away from third-party cookies to improve privacy.
Feature request: https://github.com/dotnet/aspnetcore/issues/53224 PR: https://github.com/dotnet/aspnetcore/pull/55371
Proposed API
Usage Examples
You can also use a
CookieBuilder
, but that won't do any validation (as forSame-Site
).Alternative Designs
n/a
Risks
I understand the CHIPS spec isn't actually finalized.