Crate rocket_sessions

Source
Expand description

§Rocket Sessions

Rocket sessions provides a trait for storing client tokens on the server for future validation.

§Implementors

The trait is implemented for redis::aio::Client, and for an in-memory data structure under the feature in-memory.

Traits§

  • Represents a handle to the underlying data structure managing sessions in a Rocket application. The id parameter corresponds to the session token stored by the client. This should correspond to a random alphanumeric string of letters with sufficient entropy.