Versions in this module Expand all Collapse all v1 v1.0.1 Jun 2, 2026 Changes in this version + func DecodeJWT(token string) (map[string]interface{}, error) + func DeleteToken() error + func GetTokenPath() string + func SaveToken(token *StoredToken) error + type OAuthClient struct + func NewOAuthClient(clientID, clientSecret string) *OAuthClient + func (o *OAuthClient) Login() (*StoredToken, error) + type StoredToken struct + AccessToken string + Expiry time.Time + IDToken string + RefreshToken string + TokenType string + func LoadToken() (*StoredToken, error)