MCPcopy Index your code
hub / github.com/github/github-mcp-server / endpoint

Method endpoint

internal/oauth/testutil_test.go:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func (f *fakeGitHub) endpoint() oauth2.Endpoint {
61 return oauth2.Endpoint{
62 AuthURL: f.URL + "/login/oauth/authorize",
63 TokenURL: f.URL + "/login/oauth/access_token",
64 DeviceAuthURL: f.URL + "/login/device/code",
65 }
66}
67
68func (f *fakeGitHub) handleAuthorize(w http.ResponseWriter, r *http.Request) {
69 q := r.URL.Query()

Callers 1

newManagerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected