mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
100
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user