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 ServeSandbox(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 ¶ added in v1.1.1
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 ServeSandbox ¶ added in v1.4.3
ServeSandbox performs second factore authentication.
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.