quarlus-security 0.1.0

JWT/OIDC security module for Quarlus - token validation, JWKS cache, and AuthenticatedUser extractor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod config;
pub mod error;
pub mod extractor;
pub mod identity;
pub mod jwks;
pub mod jwt;

// Re-export primary public types for convenience.
pub use config::SecurityConfig;
pub use error::SecurityError;
pub use extractor::extract_jwt_identity;
pub use identity::{
    AuthenticatedUser, DefaultIdentityBuilder, DefaultRoleExtractor, IdentityBuilder,
    RoleExtractor,
};
pub use jwks::JwksCache;
pub use jwt::JwtValidator;