Versions in this module Expand all Collapse all v0 v0.0.1 Jun 13, 2023 Changes in this version + func AddAuthenticationHeader(authenticator auth.Authenticator, config configuration.Configuration, ...) error + func ApplyTlsConfig(transport *http.Transport, insecure bool, caPool *x509.CertPool) *http.Transport + func ConfigureProxy(transport *http.Transport, logger *zerolog.Logger, ...) *http.Transport + func ShouldRequireAuthentication(apiUrl string, url *url.URL, additionalSubdomains []string) (matchesPattern bool, err error) + type AuthHeaderMiddleware struct + func NewAuthHeaderMiddleware(config configuration.Configuration, authenticator auth.Authenticator, ...) *AuthHeaderMiddleware + func (n *AuthHeaderMiddleware) RoundTrip(request *http.Request) (*http.Response, error)