Versions in this module Expand all Collapse all v1 v1.0.0 Dec 1, 2020 Changes in this version + const JwtExpiration + type Credentials struct + func NewCredentials(provider Provider) (*Credentials, error) + func NewJWTCredentials(creds JwtCredentials) (*Credentials, error) + func NewPasswordCredentials(creds PasswordCredentials) (*Credentials, error) + func (creds *Credentials) Retrieve() (io.Reader, error) + func (creds *Credentials) URL() string + type JwtCredentials struct + ClientId string + ClientKey *rsa.PrivateKey + ClientUsername string + URL string + type PasswordCredentials struct + ClientID string + ClientSecret string + Password string + URL string + Username string + type Provider interface + Retrieve func() (io.Reader, error) + URL func() string Incompatible versions in this module v2.0.3+incompatible Mar 24, 2021 v2.0.2+incompatible Mar 17, 2021 v2.0.1+incompatible Oct 1, 2019