Documentation
¶
Overview ¶
Package storager contains additional credential stores that implements the Storager interface for the shellicator lib.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecureStore ¶
type SecureStore struct {
// contains filtered or unexported fields
}
SecureStore stores and retrieves tokens in a platform dependent secure storage.
func NewSecureStore ¶
func NewSecureStore(serviceName string) SecureStore
NewSecureStore creates a new secure storager.
func (SecureStore) RetrieveToken ¶
func (s SecureStore) RetrieveToken(key string) (*oauth2.Token, error)
RetrieveToken retrieves a token from the secure store.
func (SecureStore) StoreToken ¶
func (s SecureStore) StoreToken(key string, token *oauth2.Token) error
StoreToken stores a token in the secure store.
Click to show internal directories.
Click to hide internal directories.