Class CookieIssueDetails
This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.
public sealed record CookieIssueDetails : IEquatable<CookieIssueDetails>
- Inheritance
-
CookieIssueDetails
- Implements
- Inherited Members
Constructors
CookieIssueDetails(ImmutableArray<CookieWarningReason>, ImmutableArray<CookieExclusionReason>, CookieOperation)
This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.
public CookieIssueDetails(ImmutableArray<CookieWarningReason> CookieWarningReasons, ImmutableArray<CookieExclusionReason> CookieExclusionReasons, CookieOperation Operation)
Parameters
CookieWarningReasonsImmutableArray<CookieWarningReason>CookieExclusionReasonsImmutableArray<CookieExclusionReason>OperationCookieOperationOptionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.
Properties
Cookie
If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.
public AffectedCookie? Cookie { get; init; }
Property Value
CookieExclusionReasons
public ImmutableArray<CookieExclusionReason> CookieExclusionReasons { get; init; }
Property Value
CookieUrl
public string? CookieUrl { get; init; }
Property Value
CookieWarningReasons
public ImmutableArray<CookieWarningReason> CookieWarningReasons { get; init; }
Property Value
Insight
The recommended solution to the issue.
public CookieIssueInsight? Insight { get; init; }
Property Value
Operation
Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.
public CookieOperation Operation { get; init; }
Property Value
RawCookieLine
public string? RawCookieLine { get; init; }
Property Value
Request
public AffectedRequest? Request { get; init; }
Property Value
SiteForCookies
public string? SiteForCookies { get; init; }