Skip to content

ModeGatewayAuth

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Authentication is configured outside the gateway form. Preserve it on edits.

Source code in src/codexed/models/v2_protocol.py
class ModeGatewayAuth(CodexBaseModel):
    """Authentication is configured outside the gateway form. Preserve it on edits."""

    env_key: str | None = None
    mode: Literal["externallyConfigured"] = "externallyConfigured"

:fa-brands-github: Show source on GitHub