Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles password authentication
func NewHandler ¶
func NewHandler(cfg config.PasswordAuthConfig, sessionStore kvs.Store, cookieConfig config.CookieConfig, authPathPrefix string, translator *i18n.Translator, logger logging.Logger) *Handler
NewHandler creates a new password authentication handler
func (*Handler) HandleLogin ¶
func (h *Handler) HandleLogin(w http.ResponseWriter, r *http.Request)
HandleLogin handles the password login
Click to show internal directories.
Click to hide internal directories.