Versions in this module Expand all Collapse all v0 v0.7.1 Apr 19, 2023 Changes in this version type RetrieveError + ErrorCode string + ErrorDescription string + ErrorURI string v0.1.0 Nov 28, 2022 Changes in this version + func ContextClient(ctx context.Context) *http.Client + func ParseKey(key []byte) (*rsa.PrivateKey, error) + func RegisterBrokenAuthHeaderProvider(tokenURL string) + func ResetAuthCache() + type AuthStyle int + const AuthStyleInHeader + const AuthStyleInHeaderUnencoded + const AuthStyleInParams + const AuthStyleUnknown + type ContextKey struct + var HTTPClient ContextKey + type RetrieveError struct + Body []byte + Response *http.Response + func (r *RetrieveError) Error() string + type Token struct + AccessToken string + Expiry time.Time + Raw interface{} + RefreshToken string + TokenType string + func RetrieveToken(ctx context.Context, clientID, clientSecret, tokenURL string, v url.Values, ...) (*Token, error)