Documentation ¶
Index ¶
- func DeriveXForwardedFor(clientReq *http.Request) string
- func DeriveXForwardedHost(clientReq *http.Request) string
- type ForwardAuth
- func (ForwardAuth) CaddyModule() caddy.ModuleInfo
- func (f *ForwardAuth) Provision(_ caddy.Context) error
- func (f ForwardAuth) ServeHTTP(w http.ResponseWriter, clientReq *http.Request, next caddyhttp.Handler) error
- func (f *ForwardAuth) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (f *ForwardAuth) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeriveXForwardedFor ¶
func DeriveXForwardedHost ¶
Types ¶
type ForwardAuth ¶
type ForwardAuth struct { Url string `json:"url"` AuthResponseForwardHeaders []string `json:"auth_response_forward_headers"` // contains filtered or unexported fields }
func (ForwardAuth) CaddyModule ¶
func (ForwardAuth) CaddyModule() caddy.ModuleInfo
func (*ForwardAuth) Provision ¶
func (f *ForwardAuth) Provision(_ caddy.Context) error
func (ForwardAuth) ServeHTTP ¶
func (f ForwardAuth) ServeHTTP(w http.ResponseWriter, clientReq *http.Request, next caddyhttp.Handler) error
func (*ForwardAuth) UnmarshalCaddyfile ¶
func (f *ForwardAuth) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
func (*ForwardAuth) Validate ¶
func (f *ForwardAuth) Validate() error
Click to show internal directories.
Click to hide internal directories.