The cookie name.
The cookie name.
Decodes from an encoded String
.
Decodes from an encoded String
.
Decodes the data from a Cookie
.
Decodes the data from a Cookie
.
Decodes the data from a Cookie
.
Decodes the data from a Cookie
.
Builds the cookie object from the given data map.
Builds the cookie object from the given data map.
the data map to build the cookie object
a new cookie object
The cookie domain.
The cookie domain. Defaults to None.
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.
Encodes the data as a String
.
Encodes the data as a String
.
Encodes the data as a Cookie
.
Encodes the data as a Cookie
.
true
if the Cookie should have the httpOnly flag, disabling access from Javascript.
true
if the Cookie should have the httpOnly flag, disabling access from Javascript. Defaults to true.
true
if the Cookie is signed.
true
if the Cookie is signed. Defaults to false.
The cookie expiration date in seconds, None
for a transient cookie
The cookie expiration date in seconds, None
for a transient cookie
The cookie path.
The cookie path.
The value of the SameSite attribute of the cookie.
The value of the SameSite attribute of the cookie. Defaults to no SameSite.
true
if the Cookie should have the secure flag, restricting usage to https.
true
if the Cookie should have the secure flag, restricting usage to https. Defaults to false.
Converts the given cookie object into a data map.
Converts the given cookie object into a data map.
a new Map
storing the key-value pairs for the given cookie
A session cookie that reads in both signed and JWT cookies, and writes out JWT cookies.