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

Method auth_headers

tests/test_authentication.py:65–66  ·  view source on GitHub ↗
(self, token: str, auth_scheme: str)

Source from the content-addressed store, hash-verified

63 supported_auth_schemes = ("bearer",)
64
65 def auth_headers(self, token: str, auth_scheme: str) -> dict[str, str]:
66 return {"Authorization": f"Bearer {token}"}
67
68
69# ---------------------------------------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected