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

Function _ado_basic_entry

tests/test_authentication.py:49–56  ·  view source on GitHub ↗

Build an ADO basic-pat config entry.

(token_env: str = "AZURE_DEVOPS_PAT")

Source from the content-addressed store, hash-verified

47
48
49def _ado_basic_entry(token_env: str = "AZURE_DEVOPS_PAT") -> AuthConfigEntry:
50 """Build an ADO basic-pat config entry."""
51 return AuthConfigEntry(
52 hosts=("dev.azure.com",),
53 provider="azure-devops",
54 auth="basic-pat",
55 token_env=token_env,
56 )
57
58
59class _StubProvider(AuthProvider):

Calls 1

AuthConfigEntryClass · 0.90

Tested by

no test coverage detected