Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBrowser ¶
DefaultBrowser attempts to open a URL in the default browser.
func DeviceFlow ¶
func DeviceFlow(ctx context.Context, clientID, scope string, openBrowser func(string) error, out io.Writer) (string, error)
DeviceFlow performs GitHub device authorization flow. openBrowser is called with the verification URL to open for user login.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.