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

Method HasToken

internal/ghmcp/oauth.go:92–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90// manager to its branches would require standing up live GitHub flows.
91type oauthAuthenticator interface {
92 HasToken() bool
93 Authenticate(ctx context.Context, prompter oauth.Prompter) (*oauth.Outcome, error)
94}
95

Callers 2

createOAuthMiddlewareFunction · 0.65

Implementers 2

Managerinternal/oauth/manager.go
fakeAuthenticatorinternal/ghmcp/oauth_test.go

Calls

no outgoing calls

Tested by 1