feat(ai-gateway): wire auth submodules + re-exports

This commit is contained in:
Ishaan Jaff 2026-06-24 12:33:39 -07:00
parent 8170e0ed18
commit 9c6ca78da9
No known key found for this signature in database

View file

@ -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;