This commit is contained in:
Gabriel Peal
2026-01-24 09:05:09 -08:00
parent ebc88f29f8
commit f6fda4c039
91 changed files with 91 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ pub trait AuthProvider: Send + Sync {
None
}
}
// codex-api/src/auth.rs
pub(crate) fn add_auth_headers<A: AuthProvider>(auth: &A, mut req: Request) -> Request {
if let Some(token) = auth.bearer_token()