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

Class AppAuthToken

github/Auth.py:295–310  ·  view source on GitHub ↗

This class is used to authenticate as a GitHub App with a single constant JWT. https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app

Source from the content-addressed store, hash-verified

293
294
295class AppAuthToken(JWT):
296 """
297 This class is used to authenticate as a GitHub App with a single constant JWT.
298
299 https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-as-a-github-app
300
301 """
302
303 def __init__(self, token: str):
304 assert isinstance(token, str)
305 assert len(token) > 0
306 self._token = token
307
308 @property
309 def token(self) -> str:
310 return self._token
311
312
313class AppInstallationAuth(Auth, WithRequester["AppInstallationAuth"]):

Callers 1

PickleClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…