actix-jwt 0.1.0

Full-featured JWT authentication middleware for actix-web: login, logout, refresh, token rotation, cookie management, RSA/HMAC, RBAC authorizer, pluggable token store
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Framework-independent core types shared by all store backends.
//!
//! This module mirrors the
//! [`core/`](https://github.com/LdDl/echo-jwt/tree/master/core) package from the Go implementation and
//! contains no actix-web dependency, making it reusable with any Rust web
//! framework.
//!
//! # Contents
//!
//! * [`TokenStore`] - async trait defining the refresh-token storage contract.
//! * [`Token`] - a complete JWT token pair (access + optional refresh).
//! * [`RefreshTokenData`] - data stored alongside each refresh token.

pub mod store;
pub mod token;

pub use store::*;
pub use token::*;