forwardauthcache

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardAuthCache

type ForwardAuthCache struct {
	AuthURL          string            `json:"auth_url,omitempty"`
	TTL              time.Duration     `json:"ttl,omitempty"`
	CookieName       string            `json:"cookie_name,omitempty"`
	CopyHeaders      []string          `json:"copy_headers,omitempty"`
	PassHeaders      map[string]string `json:"pass_headers,omitempty"`
	CacheKeyTemplate string            `json:"cache_key,omitempty"`
	Timeout          time.Duration     `json:"timeout,omitempty"`
	RequestMethod    string            `json:"method,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	UserIDHeader     string            `json:"user_id_header,omitempty"`
	// contains filtered or unexported fields
}

func (ForwardAuthCache) CaddyModule

func (ForwardAuthCache) CaddyModule() caddy.ModuleInfo

func (*ForwardAuthCache) Cleanup

func (a *ForwardAuthCache) Cleanup() error

func (*ForwardAuthCache) Provision

func (a *ForwardAuthCache) Provision(ctx caddy.Context) error

func (*ForwardAuthCache) ServeHTTP

func (*ForwardAuthCache) UnmarshalCaddyfile added in v0.0.3

func (a *ForwardAuthCache) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

func (*ForwardAuthCache) Validate

func (a *ForwardAuthCache) Validate() error

Jump to

Keyboard shortcuts

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