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

Function deviceInstruction

internal/oauth/flow.go:218–220  ·  view source on GitHub ↗
(da *oauth2.DeviceAuthResponse)

Source from the content-addressed store, hash-verified

216 "For improved security, consider asking your agent, CLI, or IDE to add it (for example, by opening an issue)."
217
218func deviceInstruction(da *oauth2.DeviceAuthResponse) string {
219 return fmt.Sprintf("Visit %s and enter the code %s to authorize the GitHub MCP Server.", da.VerificationURI, da.UserCode)
220}

Callers 1

beginDeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected