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

Method __init__

github/AppAuthentication.py:47–58  ·  view source on GitHub ↗
(
        self,
        app_id: int | str,
        private_key: str,
        installation_id: int,
        token_permissions: dict[str, str] | None = None,
    )

Source from the content-addressed store, hash-verified

45@deprecated("Use github.Auth.AppInstallationAuth instead")
46class AppAuthentication(AppInstallationAuth):
47 def __init__(
48 self,
49 app_id: int | str,
50 private_key: str,
51 installation_id: int,
52 token_permissions: dict[str, str] | None = None,
53 ):
54 super().__init__(
55 app_auth=AppAuth(app_id, private_key),
56 installation_id=installation_id,
57 token_permissions=token_permissions,
58 )

Callers

nothing calls this directly

Calls 1

AppAuthClass · 0.90

Tested by

no test coverage detected