[][src]Module secure_session::session

Sessions and session management utilities.

Structs

AesGcmSessionManager

Uses the AES-GCM AEAD to provide signed, encrypted sessions.

ChaCha20Poly1305SessionManager

Uses the ChaCha20Poly1305 AEAD to provide signed, encrypted sessions.

MultiSessionManager

This is used when one wants to rotate keys or switch from implementation to another. It accepts 1 + N instances of SessionManager<V> and uses only the first to generate sessions. All instances are used only for parsing in the order they are passed in to the MultiSessionManager.

Session

A session with an exipiration date and optional value.

Traits

SessionManager

Base trait that provides session management.