Skip to content

ProviderAuthMethod

Base classes

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

⋔ Inheritance diagram

graph TD
  3184041135["models.ProviderAuthMethod"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 3184041135
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

Authentication method for a provider.

Source code in src/llmling_models/auth/models.py
class ProviderAuthMethod(BaseModel):
    """Authentication method for a provider."""

    type: Literal["oauth", "api"]
    """Auth type."""

    label: str
    """Human-readable label for the auth method."""

label instance-attribute

label: str

Human-readable label for the auth method.

type instance-attribute

type: Literal['oauth', 'api']

Auth type.

:fa-brands-github: Show source on GitHub