Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("key not found in cache")
Functions ¶
func GetAuthToken ¶
Types ¶
type CacheImpl ¶
type CacheImpl struct {
// contains filtered or unexported fields
}
func (*CacheImpl) Invalidate ¶
type OpenidToken ¶
type OpenidToken struct {
AccessToken string `json:"access_token"`
ExpiresIn float64 `json:"expires_in"`
RefreshExpiresIn float64 `json:"refresh_expires_in"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
RequestTime time.Time `json:"-"`
ParsedToken Token `json:"-"`
}
Click to show internal directories.
Click to hide internal directories.