SessionCookieBaker
Helper utilities to manage the Session cookie.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class LegacySessionCookieBaker
Members list
Value members
Abstract methods
Concrete 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
The cookie domain. Defaults to None.
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
- Definition Classes
The cookie expiration date in seconds, None
for a transient cookie
The cookie expiration date in seconds, None
for a transient cookie
Attributes
- Definition Classes
The cookie path.
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.
Attributes
- Definition Classes
true
if the Cookie should have the secure flag, restricting usage to https. Defaults to false.
true
if the Cookie should have the secure flag, restricting usage to https. Defaults to false.
Attributes
- Definition Classes
Inherited methods
Decodes from an encoded String
.
Decodes the data from a Cookie
.
Decodes the data from a Cookie
.
Attributes
- Inherited from:
- CookieBaker
Encodes the data as a String
.
Encodes the data as a Cookie
.
Concrete fields
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
true
if the Cookie is signed. Defaults to false.
true
if the Cookie is signed. Defaults to false.