Documentation
¶
Overview ¶
Package cli for basic cli functions
Package cli for basic cli functions ¶
Package cli for basic cli functions ¶
Package cli for basic cli functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenBrowser ¶ added in v1.1.0
OpenBrowser open browser for url
func PoolNewDeviceCode ¶
func PoolNewDeviceCode(config *cfg.Config, oauth *internal.OauthService) error
PoolNewDeviceCode pool new device code (open browser and wait for correct code activation)
func ReadTokenFromFile ¶
ReadTokenFromFile reads the token from the specified file
func ValidAccessToken ¶
func ValidAccessToken(config *cfg.Config, oauth *internal.OauthService) bool
ValidAccessToken valid if access_token is expired or not, and refresh if expired
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.