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

Method oauth2Config

internal/oauth/manager.go:302–310  ·  view source on GitHub ↗
(redirectURL string)

Source from the content-addressed store, hash-verified

300}
301
302func (m *Manager) oauth2Config(redirectURL string) *oauth2.Config {
303 return &oauth2.Config{
304 ClientID: m.config.ClientID,
305 ClientSecret: m.config.ClientSecret,
306 RedirectURL: redirectURL,
307 Scopes: m.config.Scopes,
308 Endpoint: m.config.Endpoint,
309 }
310}

Callers 3

beginPKCEMethod · 0.95
beginDeviceMethod · 0.95
NewManagerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected