iron-login 0.5.0

Basic session management in Iron.
Documentation

iron-login Build Status

Basic session management in Iron.

This crate provides an iron middleware that handles user login sessions using a cryptographically signed authentication cookie.

Usage

  • Add an instance of the LoginMagager to your Iron handler chain
  • Call <MyUserType as iron_login::User>::get_login(req) in your handler to get a Login instance

See /examples/ for usage.

License

Licensed under the MIT, see LICENSE.