Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginResult ¶
func Login ¶
func Login(logger logger.Logger, baseUrl string) (*LoginResult, error)
Login will open a browser and wait for the user to login. It will return the token if the user logs in successfully. It will return an error if the user cancels the login or if the login fails. If the user cancels the login or after a period of 1 minute, the login will fail and return an ErrTimeout error.
Click to show internal directories.
Click to hide internal directories.