struct Protocol::Audits::CookieIssueDetails

Overview

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.

Included Modules

Defined in:

protocol/audits.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def cookie : AffectedCookie | Nil #

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.


[View source]
def cookie_exclusion_reasons : Array(CookieExclusionReason) #

[View source]
def cookie_url : String | Nil #

[View source]
def cookie_warning_reasons : Array(CookieWarningReason) #

[View source]
def operation : CookieOperation #

Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.


[View source]
def raw_cookie_line : String | Nil #

[View source]
def request : AffectedRequest | Nil #

[View source]
def site_for_cookies : String | Nil #

[View source]