axum_sqlx_session_auth 0.1.1

Library to Provide a User Authentication and privilege Token Checks. It requires the AxumSQLxSessions library and Tower_cookies library.
Documentation
1
2
3
4
5
6
7
8
9
10
#![doc = include_str!("../README.md")]
//Todo: Support more databases and expand the Tokio/RLS or RustRLS Selections for SQLx
mod auth;
///This Library Requires that Tower_Cookies and AxumSQLxSessions is used as an active layer.
mod layer;
mod session;

pub use auth::{Auth, HasPermission, Rights};
pub use layer::AuthSessionLayer;
pub use session::{AuthSession, Authentication};