Class CookiePartitionKey
cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
public sealed record CookiePartitionKey : IEquatable<CookiePartitionKey>
- Inheritance
-
CookiePartitionKey
- Implements
- Inherited Members
Constructors
CookiePartitionKey(string, bool)
cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
public CookiePartitionKey(string TopLevelSite, bool HasCrossSiteAncestor)
Parameters
TopLevelSitestringThe site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
HasCrossSiteAncestorboolIndicates if the cookie has any ancestors that are cross-site to the topLevelSite.
Properties
HasCrossSiteAncestor
Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
public bool HasCrossSiteAncestor { get; init; }
Property Value
TopLevelSite
The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
public string TopLevelSite { get; init; }