Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenCache ¶
type TokenCache interface { // SaveToken saves the token securely to cache. SaveToken(token *oauth2.Token) error // Retrieves the token from the cache. GetToken() (*oauth2.Token, error) }
TokenCache defines the interface needed to cache and retrieve oauth tokens.
type TokenCacheInMemoryProvider ¶
type TokenCacheInMemoryProvider struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.