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§
- Authenticated
Read - Result of a cache-aware HTTP session read. A cached user is an output snapshot, while Stored retains the actual application model.
- Published
Session Snapshot - One completed issuance with actual retained callback-stage output. Trusted hooks may observe it; it never establishes authentication.
- Session
Hook Cache Metadata - 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.