Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
cfxdb 25.12.2
Logo
cfxdb 25.12.2
  • Introduction
  • Installation
  • Getting Started
  • Programming Guide
    • Router Database
      • Realm Store
      • Cookie Store
    • Management Realms
      • Application Realms
      • Router Clusters
      • Web Clusters
      • Run-time Logs
    • Management Domain
      • Users and Organizations
      • Management Realms
    • Management Network
      • Network
      • Key Exchange
  • Release Notes
  • Changelog
  • Contributing
  • WAMP Projects Overview
  • AI Policy
    • AI Contributors Policy
    • AI Assistants Policy
    • Disclosure of Use of AI Assistance
    • AI-Assisted Work Audit Log
    • AI Disclosure Process
    • AI Audit Process Review
  • API Reference
    • cfxdb
      • cfxdb._exception
      • cfxdb.common
      • cfxdb.cookiestore
        • cfxdb.cookiestore._cookie
        • cfxdb.cookiestore._schema
      • cfxdb.exporter
      • cfxdb.gen
        • cfxdb.gen.KeyValue
        • cfxdb.gen.ObjRef
        • cfxdb.gen.arealm
          • cfxdb.gen.arealm.ApplicationRealm
          • cfxdb.gen.arealm.ApplicationRealmRole
          • cfxdb.gen.arealm.ApplicationRealmStatus
          • cfxdb.gen.arealm.AuthenticationMethod
          • cfxdb.gen.arealm.Credential
          • cfxdb.gen.arealm.MatchType
          • cfxdb.gen.arealm.Permission
          • cfxdb.gen.arealm.Principal
          • cfxdb.gen.arealm.Role
          • cfxdb.gen.arealm.UriCheckLevel
        • cfxdb.gen.cookiestore
          • cfxdb.gen.cookiestore.Cookie
        • cfxdb.gen.log
          • cfxdb.gen.log.IpVersion
          • cfxdb.gen.log.MNodeLog
          • cfxdb.gen.log.MNodeSession
          • cfxdb.gen.log.MNodeState
          • cfxdb.gen.log.MRealmRun
          • cfxdb.gen.log.MRealmState
          • cfxdb.gen.log.MWorkerLog
          • cfxdb.gen.log.MWorkerState
          • cfxdb.gen.log.MWorkerType
          • cfxdb.gen.log.MasterNodeUsage
          • cfxdb.gen.log.MasterNodeUsageStatus
          • cfxdb.gen.log.MasterRun
          • cfxdb.gen.log.MasterState
        • cfxdb.gen.meta
          • cfxdb.gen.meta.Attribute
          • cfxdb.gen.meta.Comment
          • cfxdb.gen.meta.Doc
          • cfxdb.gen.meta.DocFormat
          • cfxdb.gen.meta.Reaction
          • cfxdb.gen.meta.Tag
          • cfxdb.gen.meta.TagDefinition
        • cfxdb.gen.mrealm
          • cfxdb.gen.mrealm.ClusterNodeMembership
          • cfxdb.gen.mrealm.ClusterStatus
          • cfxdb.gen.mrealm.ManagementRealm
          • cfxdb.gen.mrealm.Node
          • cfxdb.gen.mrealm.RouterCluster
          • cfxdb.gen.mrealm.RouterWorkerGroup
          • cfxdb.gen.mrealm.RouterWorkerGroupClusterPlacement
          • cfxdb.gen.mrealm.WebCluster
          • cfxdb.gen.mrealm.WorkerGroupStatus
        • cfxdb.gen.oid_t
        • cfxdb.gen.realmstore
          • cfxdb.gen.realmstore.EncAlgo
          • cfxdb.gen.realmstore.EncSerializer
          • cfxdb.gen.realmstore.Event
          • cfxdb.gen.realmstore.Publication
          • cfxdb.gen.realmstore.Session
        • cfxdb.gen.reflection
          • cfxdb.gen.reflection.BaseType
          • cfxdb.gen.reflection.Enum
          • cfxdb.gen.reflection.EnumVal
          • cfxdb.gen.reflection.Field
          • cfxdb.gen.reflection.KeyValue
          • cfxdb.gen.reflection.Object
          • cfxdb.gen.reflection.RPCCall
          • cfxdb.gen.reflection.Schema
          • cfxdb.gen.reflection.Service
          • cfxdb.gen.reflection.Type
        • cfxdb.gen.user
          • cfxdb.gen.user.ActivationStatus
          • cfxdb.gen.user.ActivationToken
          • cfxdb.gen.user.ActivationType
          • cfxdb.gen.user.Organization
          • cfxdb.gen.user.OrganizationType
          • cfxdb.gen.user.User
          • cfxdb.gen.user.UserMrealmRoles
          • cfxdb.gen.user.UserOrganizationRoles
          • cfxdb.gen.user.UserRole
        • cfxdb.gen.xbr
          • cfxdb.gen.xbr.Actor
          • cfxdb.gen.xbr.ActorType
          • cfxdb.gen.xbr.Api
          • cfxdb.gen.xbr.Block
          • cfxdb.gen.xbr.Catalog
          • cfxdb.gen.xbr.Consent
          • cfxdb.gen.xbr.Market
          • cfxdb.gen.xbr.Member
          • cfxdb.gen.xbr.MemberLevel
          • cfxdb.gen.xbr.TokenApproval
          • cfxdb.gen.xbr.TokenBalance
          • cfxdb.gen.xbr.TokenTransfer
        • cfxdb.gen.xbrmm
          • cfxdb.gen.xbrmm.Channel
          • cfxdb.gen.xbrmm.ChannelBalance
          • cfxdb.gen.xbrmm.ChannelState
          • cfxdb.gen.xbrmm.ChannelType
          • cfxdb.gen.xbrmm.IPFSFile
          • cfxdb.gen.xbrmm.Offer
          • cfxdb.gen.xbrmm.Transaction
          • cfxdb.gen.xbrmm.TransactionState
          • cfxdb.gen.xbrmm.UserKey
        • cfxdb.gen.xbrnetwork
          • cfxdb.gen.xbrnetwork.Account
          • cfxdb.gen.xbrnetwork.AccountLevel
          • cfxdb.gen.xbrnetwork.UserKey
          • cfxdb.gen.xbrnetwork.VerificationStatus
          • cfxdb.gen.xbrnetwork.VerificationType
          • cfxdb.gen.xbrnetwork.VerifiedAction
          • cfxdb.gen.xbrnetwork.WalletType
      • cfxdb.globalschema
      • cfxdb.log
        • cfxdb.log.mnode_log
        • cfxdb.log.mnode_logs
        • cfxdb.log.mworker_log
        • cfxdb.log.mworker_logs
        • cfxdb.log.schema
      • cfxdb.meta
        • cfxdb.meta.attribute
        • cfxdb.meta.schema
      • cfxdb.mrealm
        • cfxdb.mrealm.application_realm
        • cfxdb.mrealm.arealm_role_association
        • cfxdb.mrealm.cluster
        • cfxdb.mrealm.cluster_node_membership
        • cfxdb.mrealm.credential
        • cfxdb.mrealm.management_realm
        • cfxdb.mrealm.node
        • cfxdb.mrealm.permission
        • cfxdb.mrealm.principal
        • cfxdb.mrealm.role
        • cfxdb.mrealm.router_cluster
        • cfxdb.mrealm.router_cluster_node_membership
        • cfxdb.mrealm.router_workergroup
        • cfxdb.mrealm.router_workergroup_cluster_placement
        • cfxdb.mrealm.types
        • cfxdb.mrealm.web_cluster
        • cfxdb.mrealm.web_cluster_node_membership
        • cfxdb.mrealm.web_service
      • cfxdb.mrealmschema
      • cfxdb.realmstore
        • cfxdb.realmstore._event
        • cfxdb.realmstore._publication
        • cfxdb.realmstore._schema
        • cfxdb.realmstore._session
      • cfxdb.tests
        • cfxdb.tests._util
        • cfxdb.tests.cookiestore
        • cfxdb.tests.realmstore
        • cfxdb.tests.user
        • cfxdb.tests.xbr
        • cfxdb.tests.xbrmm
      • cfxdb.tracing
      • cfxdb.usage
      • cfxdb.user
        • cfxdb.user.activation_token
        • cfxdb.user.activation_token_fbs
        • cfxdb.user.organization
        • cfxdb.user.organization_fbs
        • cfxdb.user.schema
        • cfxdb.user.user
        • cfxdb.user.user_fbs
        • cfxdb.user.user_mrealm_role
        • cfxdb.user.user_mrealm_role_fbs
      • cfxdb.xbr
        • cfxdb.xbr.actor
        • cfxdb.xbr.api
        • cfxdb.xbr.block
        • cfxdb.xbr.catalog
        • cfxdb.xbr.consent
        • cfxdb.xbr.market
        • cfxdb.xbr.member
        • cfxdb.xbr.schema
        • cfxdb.xbr.token
      • cfxdb.xbrmm
        • cfxdb.xbrmm.channel
        • cfxdb.xbrmm.ipfs_file
        • cfxdb.xbrmm.offer
        • cfxdb.xbrmm.schema
        • cfxdb.xbrmm.transaction
        • cfxdb.xbrmm.userkey
      • cfxdb.xbrnetwork
        • cfxdb.xbrnetwork.account
        • cfxdb.xbrnetwork.schema
        • cfxdb.xbrnetwork.userkey
        • cfxdb.xbrnetwork.vaction
Back to top
View this page
Edit this page

cfxdb.cookiestore._cookie¶

Classes¶

Cookie

Persistent cookies, as used in WAMP-Cookie authentication by router and proxy workers.

Cookies

Persisted cookies table.

IndexCookiesByValue

Index: cookie_value -> cookie_oid

_CookieGen

Module Contents¶

class Cookie(from_fbs=None)[source]¶

Bases: object

Persistent cookies, as used in WAMP-Cookie authentication by router and proxy workers.

__str__()[source]¶
_authenticated = None[source]¶
_authenticated_authmethod = None[source]¶
_authenticated_joined_at = None[source]¶
_authenticated_on_node = None[source]¶
_authenticated_on_worker = None[source]¶
_authenticated_session = None[source]¶
_authenticated_transport_info = None[source]¶
_authextra = None[source]¶
_authid = None[source]¶
_authmethod = None[source]¶
_authrealm = None[source]¶
_authrole = None[source]¶
_created = None[source]¶
_from_fbs = None[source]¶
_max_age = None[source]¶
_name = None[source]¶
_oid = None[source]¶
_value = None[source]¶
property authenticated: numpy.datetime64[source]¶

Timestamp when the cookie was authenticated (if any). Epoch time in ns.

property authenticated_authmethod: str[source]¶

The (original) WAMP authentication method, after which the client was authenticated before setting this cookie.

property authenticated_joined_at: numpy.datetime64[source]¶

Timestamp when the original authenticating session was welcome by the router. Epoch time in ns.

property authenticated_on_node: uuid.UUID[source]¶

The Crossbar.io node (within the management domain) the cookie was authenticated on (if any).

property authenticated_on_worker: str[source]¶

The Crossbar.io worker (within the node) the cookie was authenticated on (if any).

property authenticated_session: int[source]¶

The WAMP session ID of the original authenticating session.

property authenticated_transport_info: dict[source]¶

The client transport information for the connection the cookie was authenticated in (if any).

property authextra: dict[source]¶

The WAMP authentication extra data to be returned to the client performing cookie-based authentication.

property authid: str[source]¶

The WAMP authid a cookie-authenticating session is to be assigned.

property authmethod: str[source]¶

The WAMP authmethod a cookie-authenticating session is to join under.

property authrealm: str[source]¶

The WAMP realm a cookie-authenticating session is to join.

property authrole: str[source]¶

The WAMP authrole a cookie-authenticating session is to join under.

build(builder)[source]¶
static cast(buf) → Cookie[source]¶
property created: numpy.datetime64[source]¶

Timestamp when the cookie was created. Epoch time in ns.

marshal() → dict[source]¶
property max_age: int[source]¶

//tools.ietf.org/html/rfc6265#page-20), e.g. 604800".

Type:

Cookie maximum age (lifetime of the cookie in seconds, see http

property name: str[source]¶

Cookie name, as set in HTTP header, e.g. "cbtid".

property oid: uuid.UUID[source]¶

Database ID of this cookie record.

property value: str[source]¶

Cookie value, as set in HTTP header, e.g. "gn2ri8fuAYQse50/L6N7jnt2".

class Cookies(slot=None, compress=None, build=None, cast=None)[source]¶

Bases: zlmdb.MapUuidFlatBuffers

Persisted cookies table.

Map zlmdb.MapUuidFlatBuffers from cookie_oid to cfxdb.cookiestore.Cookie

class IndexCookiesByValue(slot=None, compress=None)[source]¶

Bases: zlmdb.MapStringUuid

Index: cookie_value -> cookie_oid

class _CookieGen[source]¶

Bases: cfxdb.gen.cookiestore.Cookie.Cookie

AuthExtraAsBytes()[source]¶
AuthenticatedOnNodeAsBytes()[source]¶
AuthenticatedTransportInfoAsBytes()[source]¶
classmethod GetRootAsCookie(buf, offset=0)[source]¶

This method is deprecated. Please switch to GetRootAs.

OidAsBytes()[source]¶
Next
cfxdb.cookiestore._schema
Previous
cfxdb.cookiestore
Copyright © 2020-2025, typedef int GmbH (Germany)
Made with Sphinx and @pradyunsg's Furo
On this page
  • cfxdb.cookiestore._cookie
    • Classes
    • Module Contents
      • Cookie
        • Cookie.__str__()
        • Cookie._authenticated
        • Cookie._authenticated_authmethod
        • Cookie._authenticated_joined_at
        • Cookie._authenticated_on_node
        • Cookie._authenticated_on_worker
        • Cookie._authenticated_session
        • Cookie._authenticated_transport_info
        • Cookie._authextra
        • Cookie._authid
        • Cookie._authmethod
        • Cookie._authrealm
        • Cookie._authrole
        • Cookie._created
        • Cookie._from_fbs
        • Cookie._max_age
        • Cookie._name
        • Cookie._oid
        • Cookie._value
        • Cookie.authenticated
        • Cookie.authenticated_authmethod
        • Cookie.authenticated_joined_at
        • Cookie.authenticated_on_node
        • Cookie.authenticated_on_worker
        • Cookie.authenticated_session
        • Cookie.authenticated_transport_info
        • Cookie.authextra
        • Cookie.authid
        • Cookie.authmethod
        • Cookie.authrealm
        • Cookie.authrole
        • Cookie.build()
        • Cookie.cast()
        • Cookie.created
        • Cookie.marshal()
        • Cookie.max_age
        • Cookie.name
        • Cookie.oid
        • Cookie.value
      • Cookies
      • IndexCookiesByValue
      • _CookieGen
        • _CookieGen.AuthExtraAsBytes()
        • _CookieGen.AuthenticatedOnNodeAsBytes()
        • _CookieGen.AuthenticatedTransportInfoAsBytes()
        • _CookieGen.GetRootAsCookie()
        • _CookieGen.OidAsBytes()