authentication

package
v1.9.0-industry.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 6 Imported by: 1

Documentation

Index

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
	TokenReviewURL    string
	TokenReviewCAFile string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL