CookieBaker
Trait that should be extended by the Cookie helpers.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait FlashCookieBakerclass DefaultFlashCookieBakerclass LegacyFlashCookieBakertrait SessionCookieBakerclass LegacySessionCookieBakerShow all
- Self type
Members list
Value members
Abstract methods
The cookie name.
The cookie name.
Attributes
Builds the cookie object from the given data map.
Builds the cookie object from the given data map.
Value parameters
- data
-
the data map to build the cookie object
Attributes
- Returns
-
a new cookie object
Default cookie, returned in case of error or if missing in the HTTP headers.
Default cookie, returned in case of error or if missing in the HTTP headers.
Attributes
Concrete methods
Decodes the data from a Cookie.
Decodes the data from a Cookie.
Attributes
Decodes the data from a Cookie.
Decodes the data from a Cookie.
Attributes
The cookie domain. Defaults to None.
The cookie domain. Defaults to None.
Attributes
Encodes the data as a Cookie.
Encodes the data as a Cookie.
Attributes
true if the Cookie should have the httpOnly flag, disabling access from Javascript. Defaults to true.
true if the Cookie should have the httpOnly flag, disabling access from Javascript. Defaults to true.
Attributes
true if the Cookie is signed. Defaults to false.
true if the Cookie is signed. Defaults to false.
Attributes
The cookie expiration date in seconds, None for a transient cookie
The cookie expiration date in seconds, None for a transient cookie
Attributes
true if the Cookie should have the Partitioned flag. Defaults to false.
true if the Cookie should have the Partitioned flag. Defaults to false.
Attributes
The value of the SameSite attribute of the cookie. Defaults to no SameSite.
The value of the SameSite attribute of the cookie. Defaults to no SameSite.