Skip to content

ProviderAuthAuthorization

Base classes

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

⋔ Inheritance diagram

graph TD
  2815522312["models.ProviderAuthAuthorization"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 2815522312
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

Response from starting a provider OAuth flow.

Source code in src/llmling_models/auth/models.py
class ProviderAuthAuthorization(BaseModel):
    """Response from starting a provider OAuth flow."""

    url: str
    """URL to open in browser for authorization."""

    method: Literal["auto", "code"]
    """Authorization method."""

    instructions: str
    """Instructions to display to the user."""

instructions instance-attribute

instructions: str

Instructions to display to the user.

method instance-attribute

method: Literal['auto', 'code']

Authorization method.

url instance-attribute

url: str

URL to open in browser for authorization.

:fa-brands-github: Show source on GitHub