Documentation ¶
Index ¶
- func ServeAPILogin(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeBarcodeImage(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeGeneric(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeLogin(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServePortal(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeRegister(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeSessionLoginRedirect(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeSessionLogoff(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeSettings(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeStaticAssets(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
- func ServeWhoami(w http.ResponseWriter, r *http.Request, opts map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeAPILogin ¶
ServeAPILogin returns authentication response in JSON format.
func ServeBarcodeImage ¶
ServeBarcodeImage returns barcode image.
func ServeGeneric ¶
ServeGeneric returns generic response page.
func ServeLogin ¶
ServeLogin returns login page or performs authentication.
func ServePortal ¶
ServePortal returns user identity information.
func ServeRegister ¶
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 ¶
ServeSessionLogoff performs session logout sequence.
func ServeSettings ¶
ServeSettings returns authenticated user information.
func ServeStaticAssets ¶
ServeStaticAssets serves static pages.
func ServeWhoami ¶
ServeWhoami returns authenticated user information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.