DefaultSessionCookieBaker
A session cookie that reads in both signed and JWT cookies, and writes out JWT cookies.
Attributes
- Graph
-
- Supertypes
-
trait FallbackCookieDataCodectrait SessionCookieBakertrait CookieDataCodectrait CookieBaker[Session]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Constructors
Inherited methods
The cookie name.
Decodes from an encoded String.
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.
Value parameters
- data
-
the data map to build the cookie object
Attributes
- Returns
-
a new cookie object
- Inherited from:
- SessionCookieBaker
Attributes
- Inherited from:
- CookieBaker
The cookie domain. Defaults to None.
The cookie domain. Defaults to None.
Attributes
- Definition Classes
- Inherited from:
- SessionCookieBaker
Encodes the data as a String.
Encodes the data as a Cookie.
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
- Inherited from:
- SessionCookieBaker
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
- Inherited from:
- SessionCookieBaker
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
- Inherited from:
- SessionCookieBaker
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 from:
- SessionCookieBaker
Converts the given cookie object into a data map.
Converts the given cookie object into a data map.
Value parameters
- cookie
-
the cookie object to serialize into a map
Attributes
- Returns
-
a new
Mapstoring the key-value pairs for the given cookie - Inherited from:
- SessionCookieBaker
Concrete fields
Inherited 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
- Inherited from:
- SessionCookieBaker
true if the Cookie is signed. Defaults to false.