Versions in this module Expand all Collapse all v0 v0.1.0 Jun 23, 2021 Changes in this version + func InitUI(cfg ui.AuthConfig) + type PublicUI struct + func (h *PublicUI) AuthHandler(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h *PublicUI) CallbackHandler(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h *PublicUI) IsAdmin(user string) bool + func (h PublicUI) Login(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h PublicUI) LoginFail(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h PublicUI) LoginSuccess(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h PublicUI) Logout(w http.ResponseWriter, r *http.Request, p httprouter.Params) + func (h PublicUI) RedirectHandler(w http.ResponseWriter, r *http.Request, p httprouter.Params)