MCPcopy Index your code
hub / github.com/git-bug/git-bug / promptUserToGoToBrowser

Function promptUserToGoToBrowser

bridge/github/config.go:259–265  ·  view source on GitHub ↗
(url, userCode string)

Source from the content-addressed store, hash-verified

257}
258
259func promptUserToGoToBrowser(url, userCode string) {
260 fmt.Println("Please visit the following Github URL in a browser and enter your user authentication code.")
261 fmt.Println()
262 fmt.Println(" URL:", url)
263 fmt.Println(" user authentication code:", userCode)
264 fmt.Println()
265}
266
267func pollGithubForAuthorization(deviceCode string, intervalSec int64) (string, error) {
268 params := url.Values{}

Callers 1

requestTokenFunction · 0.85

Calls 1

PrintlnMethod · 0.65

Tested by

no test coverage detected