iron-login 0.5.1

Basic session management in Iron.
iron-login-0.5.1 doesn't have any documentation.

iron-login Build Status

Deprecated

Work-in-progress for new crate is at iron-sessionstorage.


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.