CookiePartitionKey constructor
CookiePartitionKey(
{ - String? topLevelSite,
- bool? hasCrossSiteAncestor,
})
Implementation
CookiePartitionKey({
/// The top-level site the partitioned cookie is available in.
String? topLevelSite,
/// Indicates if the cookie was set in a cross-cross site context. This
/// prevents a top-level site embedded in a cross-site context from
/// accessing cookies set by the top-level site in a same-site context.
bool? hasCrossSiteAncestor,
}) : _wrapped = $js.CookiePartitionKey(
topLevelSite: topLevelSite,
hasCrossSiteAncestor: hasCrossSiteAncestor,
);