Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAuthenticated = errors.New("not authenticated")
ErrNotAuthenticated is returned when user is not authenticated
Functions ¶
func CheckAuth ¶ added in v0.1.11
func CheckAuth() error
CheckAuth checks if user is authenticated and prompts to login if not
func RemoveToken ¶ added in v0.1.11
func RemoveToken() error
RemoveToken removes the token from keyring
Types ¶
Click to show internal directories.
Click to hide internal directories.