Skip to main content

Module runtime

Module runtime 

Source
Expand description

Request-local cache cookies and genuine stored/cached snapshot transitions.

Re-exports§

pub use issuance::emit_issuance_in_transaction;
pub use issuance::stored_headers;

Structs§

AuthenticatedRead
Result of a cache-aware HTTP session read. A cached user is an output snapshot, while Stored retains the actual application model.
PublishedSessionSnapshot
One completed issuance with actual retained callback-stage output. Trusted hooks may observe it; it never establishes authentication.
SessionHookCacheMetadata
Metadata from the authenticated cache snapshot retained by get-session response hooks. Nested middleware publishes its completed session instead.

Functions§

authenticated
Shared direct/nested get-session lifecycle for the explicitly migrated guards. Nested reads behave as GET even when their parent endpoint is POST.
chunked_cookie_headers
Emit bounded chunks, replacing incoming names and expiring stale chunks. Account chunks resolve attributes against their base cookie.
chunked_cookie_value
Read a base cookie or numerically ordered canonical chunks.
clear_established_session
Retire the ordinary middleware result before a sensitive physical read.
clear_session_cookies
Queue session-cookie retirement, replacing earlier publications and retaining unrelated headers. Incoming cache chunks are retired through the same cookie-store rules.
discard_issuance
Retire cookie publication when a real login becomes a pending factor challenge.
emit_issuance_in_transaction
Publish a newly created session before committing its actual transaction.
published_session
The snapshot whose session cookies completed successfully in this dispatch. Response hooks may observe it; it never establishes authentication.
published_session_snapshot
Observe immutable retained output without reconstructing a storage model.
read
Try the authenticated compact cache before any physical session lookup. Missing or invalid cache data can only produce a storage fallback.
retain_publication
Retain the logical HTTP issuer’s completed publication for physical response hooks. This copies callback observation only, never authentication authority.
session_cleanup_headers
Clear session cookies and the actual incoming compact-cache chunks. Pending two-factor stages can preserve the signed browser preference.
session_hook_cache_metadata
Read the metadata attached to the actual authenticated hook snapshot.
stored_headers
Build cache cookies from the actual stored models and their public output.