[refactor/base-token-storage] style: gofmt import ordering in utls_transport.go#895
[refactor/base-token-storage] style: gofmt import ordering in utls_transport.go#895KooshaPari merged 6 commits intomainfrom
Conversation
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Add pkg/llmproxy/auth/base/token_storage.go with BaseTokenStorage, which centralises the Save/Load/Clear file-I/O logic that was duplicated across every auth provider. Key design points: - Save() uses an atomic write (temp file + os.Rename) to prevent partial reads - Load() and Clear() are idempotent helpers for callers that load/clear credentials - GetAccessToken/RefreshToken/Email/Type accessor methods satisfy the common interface - FilePath field is runtime-only (json:"-") so it never bleeds into persisted JSON Migrate claude, copilot, gemini, codex, kimi, kilo, and iflow providers to embed *base.BaseTokenStorage. Each provider's SaveTokenToFile() now delegates to base.Save() after setting its Type field. Struct literals in *_auth.go callers updated to use the nested BaseTokenStorage initialiser. Skipped: qwen (already has own helper), vertex (service-account JSON format), kiro (custom symlink guards), empty (no-op), antigravity/synthesizer/diff (no token storage). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (17)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Auto-generated PR for branch refactor/base-token-storage.
Test plan
N/A (Auto-generated)