Module storage

Module storage 

Source
Expand description

Pluggable storage backends for session state.

Structs§

CookieSessionStore
Use the session key, stored in the session cookie, as storage backend for the session state.
SessionKey
A session key, the string stored in a client-side cookie to associate a user with its session state on the backend.

Enums§

LoadError
Possible failures modes for SessionStore::load.
SaveError
Possible failures modes for SessionStore::save.
UpdateError
Possible failures modes for SessionStore::update.

Traits§

SessionStore
The interface to retrieve and save the current session data from/to the chosen storage backend.

Functions§

generate_session_key
Session key generation routine that follows OWASP recommendations.