forwardauth

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardAuth

type ForwardAuth struct {
	// contains filtered or unexported fields
}

func New

func New(l logger.Logger, url string, xForwardedHost string, opts ...OptionFunc) *ForwardAuth

func (*ForwardAuth) Handler

func (f *ForwardAuth) Handler(handler http.Handler) http.Handler

func (*ForwardAuth) HandlerFunc

func (f *ForwardAuth) HandlerFunc(handlerFunc http.HandlerFunc) http.Handler

type OptionFunc

type OptionFunc func(f *ForwardAuth)

func WithHTTPClient

func WithHTTPClient(httpClient *http.Client) OptionFunc

Jump to

Keyboard shortcuts

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