iron-login 0.5.1

Basic session management in Iron.
docs.rs failed to build iron-login-0.5.1
Please check build logs and if you believe this is docs.rs' fault, report into this issue report.

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.