Cookie Store¶
Cookie¶
- class CookieStoreSchema(db)[source]¶
Persistent cookie store.
- static attach(db: Database) → CookieStoreSchema[source]¶
Factory to create a schema from attaching to a database. The schema tables will be automatically mapped as persistent maps and attached to the database slots.
- idx_cookies_by_value: IndexCookiesByValue¶
Index of cookies by cookie value.
- class Cookie(from_fbs=None)[source]¶
Persistent cookies, as used in WAMP-Cookie authentication by router and proxy workers.
- property created: datetime64¶
Timestamp when the cookie was created. Epoch time in ns.
- property max_age: int¶
//tools.ietf.org/html/rfc6265#page-20), e.g.
604800".- Type:
Cookie maximum age (lifetime of the cookie in seconds, see http
- property authenticated: datetime64¶
Timestamp when the cookie was authenticated (if any). Epoch time in ns.
- property authenticated_on_node: UUID¶
The Crossbar.io node (within the management domain) the cookie was authenticated on (if any).
- property authenticated_on_worker: str¶
The Crossbar.io worker (within the node) the cookie was authenticated on (if any).
- property authenticated_transport_info: dict¶
The client transport information for the connection the cookie was authenticated in (if any).
- property authenticated_joined_at: datetime64¶
Timestamp when the original authenticating session was welcome by the router. Epoch time in ns.
- class Cookies(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
MapUuidFlatBuffersPersisted cookies table.
Map
zlmdb.MapUuidFlatBuffersfromcookie_oidtocfxdb.cookiestore.Cookie
- class IndexCookiesByValue(slot=None, compress=None)[source]¶
Bases:
MapStringUuidIndex: cookie_value -> cookie_oid