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

Method CanPromptURL

internal/oauth/prompter.go:41–41  ·  view source on GitHub ↗

CanPromptURL reports whether the client can display a URL securely via URL-mode elicitation.

()

Source from the content-addressed store, hash-verified

39 // CanPromptURL reports whether the client can display a URL securely via
40 // URL-mode elicitation.
41 CanPromptURL() bool
42
43 // PromptURL securely presents an authorization URL to the user and blocks
44 // until the user acknowledges, declines, or ctx is done. Returning nil means

Callers 2

canPromptURLFunction · 0.65

Implementers 2

fakePrompterinternal/oauth/testutil_test.go
sessionPrompterinternal/ghmcp/oauth.go

Calls

no outgoing calls

Tested by 1