Skip to content

SDKControlClaudeOAuthWaitForCompletionRequest

Base classes

Name Children Inherits
_ControlBase
clawd_code_sdk.models.control
Frozen base for all SDK control request models.

⋔ Inheritance diagram

graph TD
  1921008188["control.SDKControlClaudeOAuthWaitForCompletionRequest"]
  1268774935["control._ControlBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  1268774935 --> 1921008188
  3879467795 --> 1268774935
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ControlBase

Waits for an in-progress Claude OAuth flow to complete.

Unlike claude_oauth_callback, this does not provide an authorization code — it simply waits for the existing OAuth flow (started by claude_authenticate) to finish. The response contains the authenticated account details.

Source code in src/clawd_code_sdk/models/control.py
class SDKControlClaudeOAuthWaitForCompletionRequest(_ControlBase):
    """Waits for an in-progress Claude OAuth flow to complete.

    Unlike ``claude_oauth_callback``, this does not provide an authorization
    code — it simply waits for the existing OAuth flow (started by
    ``claude_authenticate``) to finish.  The response contains the
    authenticated account details.
    """

    subtype: Literal["claude_oauth_wait_for_completion"] = "claude_oauth_wait_for_completion"

:fa-brands-github: Show source on GitHub