Documentation
¶
Index ¶
- type ForwardAuthCache
- func (ForwardAuthCache) CaddyModule() caddy.ModuleInfo
- func (a *ForwardAuthCache) Cleanup() error
- func (a *ForwardAuthCache) Provision(ctx caddy.Context) error
- func (a *ForwardAuthCache) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (a *ForwardAuthCache) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (a *ForwardAuthCache) Validate() error
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) ServeHTTP ¶
func (a *ForwardAuthCache) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*ForwardAuthCache) UnmarshalCaddyfile ¶ added in v0.0.3
func (a *ForwardAuthCache) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
func (*ForwardAuthCache) Validate ¶
func (a *ForwardAuthCache) Validate() error
Click to show internal directories.
Click to hide internal directories.