feat: add Codex API authentication module with TLS fingerprinting and PoW solving, and introduce team processing API.
This commit is contained in:
@@ -622,7 +622,11 @@ func min(a, b int) int {
|
||||
// authURL 和 sessionID 由 S2A 生成
|
||||
func CompleteWithCodexAPI(email, password, workspaceID, authURL, sessionID, proxy string, logger *AuthLogger) (string, error) {
|
||||
if logger != nil {
|
||||
logger.LogStep(StepBrowserStart, "使用 CodexAuth API 模式...")
|
||||
if proxy != "" {
|
||||
logger.LogStep(StepBrowserStart, "使用 CodexAuth API 模式 (代理: %s)", proxy)
|
||||
} else {
|
||||
logger.LogStep(StepBrowserStart, "使用 CodexAuth API 模式 (无代理)")
|
||||
}
|
||||
}
|
||||
|
||||
auth, err := NewCodexAPIAuth(email, password, workspaceID, authURL, sessionID, proxy, logger)
|
||||
|
||||
Reference in New Issue
Block a user