Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenBrowser ¶
OpenBrowser attempts to open the URL in the default browser
Types ¶
type CallbackResult ¶
CallbackResult contains the OAuth callback parameters
type CallbackServer ¶
CallbackServer handles OAuth callbacks
func NewCallbackServer ¶
func NewCallbackServer(port int, path string) *CallbackServer
NewCallbackServer creates a new callback server
func (*CallbackServer) Start ¶
func (s *CallbackServer) Start(ctx context.Context) error
Start starts the callback server
func (*CallbackServer) Wait ¶
func (s *CallbackServer) Wait(timeout time.Duration) (*CallbackResult, error)
Wait waits for the callback or timeout
Click to show internal directories.
Click to hide internal directories.