Skip to content

ApiAuthInfo

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  2551265231["models.ApiAuthInfo"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 2551265231
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

API key authentication credentials.

Source code in src/llmling_models/auth/models.py
class ApiAuthInfo(BaseModel):
    """API key authentication credentials."""

    type: Literal["api"]
    """Auth type discriminator."""

    key: str
    """API key."""

key instance-attribute

key: str

API key.

type instance-attribute

type: Literal['api']

Auth type discriminator.

:fa-brands-github: Show source on GitHub