Skip to main content

Module session_resolver

Module session_resolver 

Source

Enums§

SessionSource
Which tier produced the session id. Useful for diagnostics / audit and to let downstream code branch on binding strength (e.g., only trust token_claim-derived sessions for the highest-stakes operations).

Functions§

resolve_session
Resolve a session id from the request’s Extensions. Returns Some((id, source)) on the first tier that hits, or None when every tier comes up empty (anonymous request, no claims, no header, no identity).