From 9c6ca78da9477a1cf9b70d62d0cbd95c0dbc3dc7 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 24 Jun 2026 12:33:39 -0700 Subject: [PATCH] feat(ai-gateway): wire auth submodules + re-exports --- litellm-rust/crates/ai-gateway/src/auth/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/litellm-rust/crates/ai-gateway/src/auth/mod.rs b/litellm-rust/crates/ai-gateway/src/auth/mod.rs index e2dd51f656d..18938317655 100644 --- a/litellm-rust/crates/ai-gateway/src/auth/mod.rs +++ b/litellm-rust/crates/ai-gateway/src/auth/mod.rs @@ -8,6 +8,14 @@ //! A handler opts in by adding [`RequireMasterKey`] to its arguments; auth then //! runs during extraction, before the handler body. Routes never re-implement it. +pub mod cache; +pub mod client; +pub mod user_api_key; + +pub use cache::KeyCache; +pub use client::{AuthError, KeyAuthenticator}; +pub use user_api_key::UserApiKeyAuth; + use axum::extract::FromRequestParts; use axum::http::header::AUTHORIZATION; use axum::http::request::Parts;