mirror of
https://github.com/openai/codex.git
synced 2026-12-03 07:47:10 +00:00
Move auth code into login crate (#15150)
- Move the auth implementation and token data into codex-login. - Keep codex-core re-exporting that surface from codex-login for existing callers. --------- Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
1 parent
ded7854f09
commit
2aa4873802
35 files changed
+262
-209
No files matched your search
@@ -1530,7 +1530,7 @@ impl AuthRequestTelemetryContext {
|
||||
Self {
|
||||
auth_mode: auth_mode.map(|mode| match mode {
|
||||
AuthMode::ApiKey => "ApiKey",
|
||||
AuthMode::Chatgpt => "Chatgpt",
|
||||
AuthMode::Chatgpt | AuthMode::ChatgptAuthTokens => "Chatgpt",
|
||||
}),
|
||||
auth_header_attached: api_auth.auth_header_attached(),
|
||||
auth_header_name: api_auth.auth_header_name(),
|
||||
|
||||
Reference in new issue
Block a user