Documentation ¶
Index ¶
- Variables
- func ClearCredentials(prefix string) error
- func DeleteBearer(prefix string) error
- func GetBearer(prefix string) (string, error)
- func GetPassword(prefix string) (string, error)
- func GetRefreshToken(prefix string) (string, error)
- func GetUsername(prefix string) (string, error)
- func SetBearer(prefix, secret string) error
- func SetPassword(prefix, secret string) error
- func SetRefreshToken(prefix, secret string) error
- func SetUsername(prefix, secret string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyringTimeOut = errors.New("keyring: timeout")
ErrKeyringTimeOut is returned when the keyring operation takes too long to complete.
Functions ¶
func ClearCredentials ¶
ClearCredentials removes any existing items in the keychain, it will ignore if not found errors
func DeleteBearer ¶
func GetPassword ¶
func GetRefreshToken ¶
func GetUsername ¶
func SetPassword ¶
func SetRefreshToken ¶
func SetUsername ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.