A single provider entry from ``auth.json``.
| 18 | |
| 19 | @dataclass(frozen=True) |
| 20 | class AuthConfigEntry: |
| 21 | """A single provider entry from ``auth.json``.""" |
| 22 | |
| 23 | hosts: tuple[str, ...] |
| 24 | provider: str |
| 25 | auth: str |
| 26 | token: str | None = None |
| 27 | token_env: str | None = None |
| 28 | # Azure AD service-principal fields |
| 29 | tenant_id: str | None = None |
| 30 | client_id: str | None = None |
| 31 | client_secret_env: str | None = None |
| 32 | |
| 33 | |
| 34 | def _default_config_path() -> Path: |
no outgoing calls