Documentation ¶
Index ¶
- func GetAccessToken() (string, error)
- func GetAccountId() (string, error)
- func GetOrCreateNeosyncFolder() (string, error)
- func GetRefreshToken() (string, error)
- func RemoveAccessToken() error
- func RemoveRefreshToken() error
- func SetAccessToken(token string) error
- func SetAccountId(id string) error
- func SetRefreshToken(token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccessToken ¶
func GetAccountId ¶
func GetOrCreateNeosyncFolder ¶
Get or Creates the Nucleus folder that lives and stores persisted settings.
1. Checks for directory specified by env var NEOSYNC_CONFIG_DIR 2. Checks for existence of XDG_CONFIG_HOME and append "neosync" to it, if exists 3. Use ~/.neosync
func GetRefreshToken ¶
func RemoveAccessToken ¶
func RemoveAccessToken() error
func RemoveRefreshToken ¶
func RemoveRefreshToken() error
func SetAccessToken ¶
func SetAccountId ¶
func SetRefreshToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.