Skip to content

Chatgptv2LoginAccountResponse

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  2285141413["v2_protocol.Chatgptv2LoginAccountResponse"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 2285141413
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class Chatgptv2LoginAccountResponse(CodexBaseModel):
    auth_url: str
    """
    URL the client should open in a browser to initiate the OAuth flow.
    """
    login_id: str
    type: Literal["chatgpt"] = "chatgpt"

auth_url instance-attribute

auth_url: str

URL the client should open in a browser to initiate the OAuth flow.

:fa-brands-github: Show source on GitHub