Versions in this module Expand all Collapse all v1 v1.0.2 Dec 5, 2023 v1.0.1 Dec 5, 2023 Changes in this version + func ContextClient(ctx context.Context) *http.Client + func ParseKey(key []byte) (*rsa.PrivateKey, error) + func RegisterBrokenAuthHeaderProvider(tokenURL string) + type AuthStyle int + const AuthStyleInHeader + const AuthStyleInParams + const AuthStyleUnknown + type AuthStyleCache struct + type ContextKey struct + var HTTPClient ContextKey + type LazyAuthStyleCache struct + func (lc *LazyAuthStyleCache) Get() *AuthStyleCache + type RetrieveError struct + Body []byte + ErrorCode string + ErrorDescription string + ErrorURI string + 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)