Documentation
¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthenticationHeader ¶
func AddAuthenticationHeader(authenticator auth.Authenticator, config configuration.Configuration, request *http.Request) error
func ApplyTlsConfig ¶
func ConfigureProxy ¶
Types ¶
type AuthHeaderMiddleware ¶
type AuthHeaderMiddleware struct {
// contains filtered or unexported fields
}
func NewAuthHeaderMiddleware ¶
func NewAuthHeaderMiddleware( config configuration.Configuration, authenticator auth.Authenticator, roundTripper http.RoundTripper, ) *AuthHeaderMiddleware
Click to show internal directories.
Click to hide internal directories.