handlers

package
v1.3.5-0...-de983a4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeAPILogin

func ServeAPILogin(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeAPILogin returns authentication response in JSON format.

func ServeBarcodeImage

func ServeBarcodeImage(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeBarcodeImage returns barcode image.

func ServeGeneric

func ServeGeneric(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeGeneric returns generic response page.

func ServeLogin

func ServeLogin(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeLogin returns login page or performs authentication.

func ServePortal

func ServePortal(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServePortal returns user identity information.

func ServeRegister

func ServeRegister(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeRegister returns registration page.

func ServeSessionLoginRedirect

func ServeSessionLoginRedirect(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeSessionLoginRedirect redirects request to login page.

func ServeSessionLogoff

func ServeSessionLogoff(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeSessionLogoff performs session logout sequence.

func ServeSettings

func ServeSettings(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeSettings returns authenticated user information.

func ServeStaticAssets

func ServeStaticAssets(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeStaticAssets serves static pages.

func ServeWhoami

func ServeWhoami(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error

ServeWhoami returns authenticated user information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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