authConfig

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultUserHeader        = "X-Remote-User"
	DefaultGroupHeader       = "X-Remote-Group"
	DefaultExtraHeaderPrefix = "X-Remote-Extra-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	GetUserHeaders() ([]string, error)
	GetGroupHeaders() ([]string, error)
	GetExtraHeaderPrefixes() ([]string, error)
	GetClientCA() (*x509.CertPool, error)

	Stop()
}

func CreateReader

func CreateReader(cli cache.Getter) (Reader, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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