Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + const LoginTemplateExample + func NewLoginFormRenderer(customLoginTemplateFile string) (*loginTemplateRenderer, error) + func ValidateLoginTemplate(templateContent []byte) []error + type Login struct + func NewLogin(provider string, csrf csrf.CSRF, auth PasswordAuthenticator, ...) *Login + func (l *Login) Install(mux Mux, paths ...string) + func (l *Login) ServeHTTP(w http.ResponseWriter, req *http.Request) + type LoginForm struct + Action string + Error string + ErrorCode string + Names LoginFormFields + ProviderName string + Values LoginFormFields + type LoginFormFields struct + CSRF string + Password string + Then string + Username string + type LoginFormRenderer interface + Render func(form LoginForm, w http.ResponseWriter, req *http.Request) + type Mux interface + Handle func(pattern string, handler http.Handler) + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + type PasswordAuthenticator interface