plugin

package module
v0.0.0-...-31d7572 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authelia

type Authelia struct {
	// Host where the authelia backend can be reached
	AutheliaURL *url.URL `json:"authelia_url,omitempty"`
	// URL to redirect unauthorized requests (Optional)
	RedirectURL string `json:"redirect_url,omitempty"`
	// contains filtered or unexported fields
}

Authelia implements a plugin for securing routes with authentication

func (Authelia) CaddyModule

func (Authelia) CaddyModule() caddy.ModuleInfo

func (*Authelia) Provision

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

func (Authelia) ServeHTTP

func (a Authelia) ServeHTTP(writer http.ResponseWriter, request *http.Request, nextHandler caddyhttp.Handler) (err error)

func (*Authelia) UnmarshalCaddyfile

func (a *Authelia) UnmarshalCaddyfile(d *caddyfile.Dispenser) (err error)

Caddyfile Syntax:

	authelia [<matcher>] authelia_url {
   redirect_url <string>
	}

func (Authelia) Validate

func (a Authelia) Validate() error

Directories

Path Synopsis
internalized
oxy

Jump to

Keyboard shortcuts

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