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

#970 in HTTP server

Download history 6/week @ 2023-10-14 6/week @ 2023-10-21 39/week @ 2023-10-28 27/week @ 2023-11-04 8/week @ 2023-11-11 9/week @ 2023-11-18 42/week @ 2023-11-25 54/week @ 2023-12-02 21/week @ 2023-12-09 8/week @ 2023-12-16 42/week @ 2023-12-23 22/week @ 2023-12-30 7/week @ 2024-01-06 10/week @ 2024-01-13 34/week @ 2024-01-20 38/week @ 2024-01-27

89 downloads per month

MIT license

6KB
98 lines

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.

Dependencies

~5MB
~126K SLoC