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

Method get_oauth_url

github/ApplicationOAuth.py:82–90  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

80 return self._client_secret.value
81
82 def get_oauth_url(self, path: str) -> str:
83 if not path.startswith("/"):
84 path = f"/{path}"
85
86 if self._requester.base_url == DEFAULT_BASE_URL:
87 base_url = DEFAULT_OAUTH_URL
88 else:
89 base_url = f"{self._requester.scheme}://{self._requester.hostname_and_port}/login/oauth"
90 return f"{base_url}{path}"
91
92 def get_login_url(
93 self,

Callers 4

get_login_urlMethod · 0.95
get_access_tokenMethod · 0.95
refresh_access_tokenMethod · 0.95
testEnterpriseSupportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected