Documentation
¶
Overview ¶
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie. micro://m3o.com/foo-bar-baz/asim@aslam.me:afsafasfasfaceevqcCEWVEWV or micro://m3o.com/foo-bar-baz:afsafasfasfaceevqcCEWVEWV
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(ctx *cli.Context) (*auth.AccountToken, error)
Get tries a best effort read of auth token from user config. Might have missing `RefreshToken` or `Expiry` fields in case of incomplete or corrupted user config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.