mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
feat(ai-gateway): wire auth submodules + re-exports
This commit is contained in:
parent
8170e0ed18
commit
9c6ca78da9
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue