MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / authentication

Method authentication

github/Auth.py:84–88  ·  view source on GitHub ↗

Add authorization to the headers.

(self, headers: dict)

Source from the content-addressed store, hash-verified

82 """
83
84 def authentication(self, headers: dict) -> None:
85 """
86 Add authorization to the headers.
87 """
88 headers["Authorization"] = f"{self.token_type} {self.token}"
89
90 def mask_authentication(self, headers: dict) -> None:
91 """

Callers 1

__requestEncodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected