MCPcopy Index your code
hub / github.com/github/spec-kit / AuthConfigEntry

Class AuthConfigEntry

src/specify_cli/authentication/config.py:20–31  ·  view source on GitHub ↗

A single provider entry from ``auth.json``.

Source from the content-addressed store, hash-verified

18
19@dataclass(frozen=True)
20class 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
34def _default_config_path() -> Path:

Calls

no outgoing calls