server

package
v4.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer added in v4.35.0

func CreateServer(config schema.Configuration, providers middlewares.Providers) (*fasthttp.Server, net.Listener)

CreateServer Create Authelia's internal webserver with the given configuration and providers.

func ServeTemplatedFile

func ServeTemplatedFile(publicDir, file, assetPath, duoSelfEnrollment, rememberMe, resetPassword, resetPasswordCustomURL, session, theme string, https bool) middlewares.RequestHandler

ServeTemplatedFile serves a templated version of a specified file, this is utilised to pass information between the backend and frontend and generate a nonce to support a restrictive CSP while using material-ui.

Types

This section is empty.

Jump to

Keyboard shortcuts

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