Crate axum_sessions

Source
Expand description

§Migration to tower-sessions

Development of this crate has moved to tower-sessions. Please consider migrating.

Numerous bugs and a significant design flaw with axum-sessions are addressed with tower-sessions.

Re-exports§

pub use async_session;

Modules§

extractors
Extractors for sessions.

Structs§

Session
Session service container.
SessionLayer
Layer that provides cookie-based sessions.

Enums§

PersistencePolicy
Controls how the session data is persisted and created.
SameSite
The SameSite cookie attribute.

Type Aliases§

SessionHandle
A type alias which provides a handle to the underlying session.