ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class SessionOptions(TypedDict): (source)

View In Hierarchy

Built-in keyword overrides for the session configuration section.

Class Variable cache Cache store for session storage.
Class Variable connection Database connection for session storage.
Class Variable cookie Name of the session cookie.
Class Variable domain Cookie domain for cross-subdomain usage.
Class Variable driver Backend used to persist session data.
Class Variable expire_on_close Expire session on browser close (omits Max-Age).
Class Variable files Path to session files.
Class Variable http_only Prevent JavaScript from accessing the cookie.
Class Variable lifetime Session lifetime in minutes.
Class Variable partitioned Send the Partitioned attribute on the session cookie.
Class Variable path URL path on which the browser sends the session cookie.
Class Variable renewal_interval Minimum seconds between unchanged session renewals.
Class Variable same_site SameSite policy applied to the session cookie.
Class Variable secure Restrict cookies to HTTPS.
Class Variable table Database table for session storage.
Class Variable track_previous_url Remember successful navigation URLs in the session.

Cache store for session storage.

connection: str | None = (source)

Database connection for session storage.

Name of the session cookie.

Cookie domain for cross-subdomain usage.

Backend used to persist session data.

expire_on_close: bool = (source)

Expire session on browser close (omits Max-Age).

Path to session files.

http_only: bool = (source)

Prevent JavaScript from accessing the cookie.

lifetime: int = (source)

Session lifetime in minutes.

partitioned: bool = (source)

Send the Partitioned attribute on the session cookie.

URL path on which the browser sends the session cookie.

renewal_interval: int = (source)

Minimum seconds between unchanged session renewals.

SameSite policy applied to the session cookie.

Restrict cookies to HTTPS.

Database table for session storage.

track_previous_url: bool = (source)

Remember successful navigation URLs in the session.