17 releases (4 breaking)
Uses old Rust 2015
0.5.1 | Dec 5, 2016 |
---|---|
0.5.0 | Jul 27, 2016 |
0.4.1 | Mar 25, 2016 |
0.1.6 | Dec 4, 2015 |
0.1.4 | Nov 29, 2015 |
#7 in #user-login
45 downloads per month
6KB
98 lines
iron-login
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 aLogin
instance
See /examples/
for usage.
License
Licensed under the MIT, see LICENSE
.
Dependencies
~5.5MB
~129K SLoC