authelia

package module
v0.0.0-...-d1933c8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MPL-2.0 Imports: 16 Imported by: 0

README

caddy-authelia

project_badge version_badge license_badge

Caddy 2 plugin for integration with Authelia

License

This project is available under the Mozilla Public License 2.0 (MPL), excepted where otherwise explicitly noted.

Copyright (c) 2020 Vítor Vasconcellos. All rights reserved.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authelia

type Authelia struct {
	TLS    bool   `json:"tls,omitempty"`
	Port   uint16 `json:"port,omitempty"`
	Domain string `json:"domain,omitempty"`
	// contains filtered or unexported fields
}

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>] <domain>:<port> [<port>] {
    tls
    port <uint16>
    domain <string>
}

func (Authelia) Validate

func (a Authelia) Validate() error

type DomainError

type DomainError struct {
	Domain string
}

func (DomainError) Error

func (d DomainError) Error() string

Directories

Path Synopsis
external
Go
plugin module

Jump to

Keyboard shortcuts

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