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

Method CanPromptForm

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

CanPromptForm reports whether the client supports form elicitation, used to display a device code when URL elicitation is unavailable.

()

Source from the content-addressed store, hash-verified

51 // CanPromptForm reports whether the client supports form elicitation, used
52 // to display a device code when URL elicitation is unavailable.
53 CanPromptForm() bool
54
55 // PromptForm presents a textual acknowledgement prompt and blocks until the
56 // user responds. It returns ErrPromptDeclined if the user declines, or

Callers 2

canPromptFormFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1