Documentation
¶
Index ¶
- type Authelia
- func (Authelia) CaddyModule() caddy.ModuleInfo
- func (a *Authelia) Provision(ctx caddy.Context) error
- func (a Authelia) ServeHTTP(writer http.ResponseWriter, request *http.Request, ...) (err error)
- func (a *Authelia) UnmarshalCaddyfile(d *caddyfile.Dispenser) (err error)
- func (a Authelia) Validate() error
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) UnmarshalCaddyfile ¶
Caddyfile Syntax:
authelia [<matcher>] authelia_url {
authelia_url <string>
redirect_url <string>
}
Click to show internal directories.
Click to hide internal directories.