Re-exports§
pub use auth_context::AuthContext;pub use auth_context::auth_context;pub use auth_context::www_authenticate_value;pub use middleware::ActorKeyDeriver;pub use middleware::AuthLayer;pub use middleware::AuthService;pub use middleware::parse_bearer_token;pub use middleware::tokens_equal;
Modules§
- at_rest
- auth_
context - Auth context injected into request extensions by
crate::middleware::AuthLayer. - authelia
- authorize
- cimd
- OAuth Client ID Metadata Documents (CIMD) support for soma-auth acting as an Authorization Server.
- config
- error
- github
- jwt
- metadata
- middleware
- Dual-mode bearer/JWT/cookie auth middleware shipped as a [
tower::Layer]. - oauth_
provider - redirect_
uri - Pure redirect-URI trust checks shared by DCR (
registration.rs) and CIMD (authorize.rs) client resolution. No I/O, noAuthState— every function here takes only strings/patterns and returns a bool, so this module has no feature dependency of its own beyondreqwest::Urlparsing; it’s gated behindhttp-axumonly because its sole callers are. - registration
- Client registration and redirect-URI resolution: RFC 7591 Dynamic Client
Registration (
POST /register) and the redirect_uri trust boundary shared by DCR-registered clients and CIMDclient_ids (seecrate::cimd). Split out ofauthorize.rsto keep that module under the repo’s file-size contract —authorize()itself still lives there and callsresolve_client_redirect_urisfrom here. - routes
- session
- sqlite
- state
- token
- types
- upstream
- Outbound OAuth support for upstream MCP servers.
- util