Skip to content

AuthOptions

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3176249679["base.AuthOptions"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3176249679
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Authentication options for HTTP requests.

Source code in src/anyenv/download/base.py
class AuthOptions(TypedDict):
    """Authentication options for HTTP requests."""

    api_key: NotRequired[str | SecretStr | None]
    auth_type: NotRequired[AuthType]
    auth_username: NotRequired[str | None]
    auth_header_name: NotRequired[str | None]

:fa-brands-github: Show source on GitHub