Documentation ¶ Index ¶ func WithAuthentication(handler http.Handler, opts *Options) (http.Handler, error) type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WithAuthentication ¶ func WithAuthentication(handler http.Handler, opts *Options) (http.Handler, error) WithAuthentication creates an http handler that tries to authenticate the given chartmuseum request as a user, and then stores any such user found onto the provided context for the request. Types ¶ type Options ¶ type Options struct { SecurityConfig *registryconfig.Security ExternalScheme string OIDCIssuerURL string OIDCCAFile string TokenReviewPath string } Source Files ¶ View all Source files authentication.go Click to show internal directories. Click to hide internal directories.