feat/cli: add cli command for oauth and update oauth module#344
Open
feat/cli: add cli command for oauth and update oauth module#344
Conversation
Add oauth command with add and list subcommands for completing OAuth authentication locally. Supports qwen_code, codex, claude_code, and antigravity providers. - Add PKCE flow for claude_code, codex, antigravity - Add device code flow for qwen_code - Automatic browser opening for auth URL - Callback server with port 1455 enforcement for codex - JSONL output after successful OAuth for export/import - Proxy support via --proxy flag - Comprehensive unit tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add pluggable storage interfaces for tokens, states, and sessions. Users can now provide custom storage implementations while the default in-memory storage remains for demonstration. - Add StateStorage interface and MemoryStateStorage - Add SessionStorage interface and MemorySessionStorage - Remove ListProviders from TokenStorage interface - Update Manager to use pluggable storage interfaces - Update Config to support all three storage types - Add comprehensive tests for new storage interfaces - Update oauth/example to demonstrate new storage pattern Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6bc90cc to
91425ab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.