ccproxy.plugins.oauth_claude.plugin¶
ccproxy.plugins.oauth_claude.plugin
¶
OAuth Claude plugin v2 implementation.
OAuthClaudeRuntime
¶
Bases: AuthProviderPluginRuntime
Runtime for OAuth Claude plugin.
Source code in ccproxy/plugins/oauth_claude/plugin.py
OAuthClaudeFactory
¶
Bases: AuthProviderPluginFactory
Factory for OAuth Claude plugin.
Source code in ccproxy/plugins/oauth_claude/plugin.py
create_context
¶
Create context with auth provider components.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
core_services
|
Any
|
Core services container |
required |
Returns:
| Type | Description |
|---|---|
PluginContext
|
Plugin context with auth provider components |
Source code in ccproxy/plugins/oauth_claude/plugin.py
create_runtime
¶
create_auth_provider
¶
Create OAuth provider instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context
|
PluginContext | None
|
Plugin context containing shared resources |
None
|
Returns:
| Type | Description |
|---|---|
OAuthProviderProtocol
|
ClaudeOAuthProvider instance |