axum-security
A security toolbox for the Axum library.
Features
cookie, adds support for cookie sessions.jwt, adds support for jwt sessions.oauth2, adds support for oauth2.jiff, adds support for the jiff crate.chrono, adds support for the chrono crate.time, adds support for the time crate.
Cookie sessions
use IntoResponse;
use ;
static COOKIE_NAME: &str = "session";
async
Honorable mention
This crate takes a lot of inspiration from the cookie crate.
License
This project is licensed under the MIT license.