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

Function canPromptURL

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

canPromptURL reports URL support, tolerating a nil Prompter.

(p Prompter)

Source from the content-addressed store, hash-verified

60
61// canPromptURL reports URL support, tolerating a nil Prompter.
62func canPromptURL(p Prompter) bool { return p != nil && p.CanPromptURL() }
63
64// canPromptForm reports form support, tolerating a nil Prompter.
65func canPromptForm(p Prompter) bool { return p != nil && p.CanPromptForm() }

Callers 2

beginPKCEMethod · 0.85
beginDeviceMethod · 0.85

Calls 1

CanPromptURLMethod · 0.65

Tested by

no test coverage detected