handler

package
v0.0.0-...-d4b2637 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthPageHandler

func AuthPageHandler(w http.ResponseWriter, r *http.Request)

func AuthorizeHandler

func AuthorizeHandler(srv *server.Server) func(w http.ResponseWriter, r *http.Request)

func InternalErrorHandler

func InternalErrorHandler(err error) (re *errors.Response)

func LoginPageHandler

func LoginPageHandler() func(http.ResponseWriter, *http.Request)

func ResponseErrorHandler

func ResponseErrorHandler(re *errors.Response)

func TokenHandler

func TokenHandler(srv *server.Server) func(w http.ResponseWriter, r *http.Request)

func UserAuthorizationHandler

func UserAuthorizationHandler(w http.ResponseWriter, r *http.Request) (string, error)

Types

type AuthProxyHandler

type AuthProxyHandler struct {
	Server *server.Server
	Host   string
	Scheme string
	// contains filtered or unexported fields
}

func (*AuthProxyHandler) ServeHTTP

func (a *AuthProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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