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

Method recordedGrants

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

Source from the content-addressed store, hash-verified

118}
119
120func (f *fakeGitHub) recordedGrants() []string {
121 f.mu.Lock()
122 defer f.mu.Unlock()
123 return append([]string(nil), f.grants...)
124}
125
126func writeToken(w http.ResponseWriter, access, refresh string, expiresIn int) {
127 body := map[string]any{

Calls

no outgoing calls

Tested by

no test coverage detected