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

Method get_app_user_auth

github/ApplicationOAuth.py:145–155  ·  view source on GitHub ↗
(self, token: AccessToken)

Source from the content-addressed store, hash-verified

143 )
144
145 def get_app_user_auth(self, token: AccessToken) -> AppUserAuth:
146 return github.Auth.AppUserAuth(
147 client_id=self.client_id,
148 client_secret=self.client_secret,
149 token=token.token,
150 token_type=token.type,
151 expires_at=token.expires_at,
152 refresh_token=token.refresh_token,
153 refresh_expires_at=token.refresh_expires_at,
154 requester=self._requester,
155 )
156
157 def refresh_access_token(self, refresh_token: str) -> AccessToken:
158 """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected