Documentation ¶
Overview ¶
Package authn provides authentication functions.
Index ¶
- Variables
- func Auth_ChangeEmail_GET(rw http.ResponseWriter, req *http.Request)
- func Auth_ChangeEmail_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_ChangePassword_GET(rw http.ResponseWriter, req *http.Request)
- func Auth_ChangePassword_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_Login_GET(rw http.ResponseWriter, req *http.Request)
- func Auth_Login_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_Logout_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_LostPW_GET(rw http.ResponseWriter, req *http.Request)
- func Auth_LostPW_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_Register_GET(rw http.ResponseWriter, req *http.Request)
- func Auth_Register_POST(rw http.ResponseWriter, req *http.Request)
- func Auth_Verify_GET(rw http.ResponseWriter, req *http.Request)
- func Register(router *mux.Router)
- func ValidateUserEmailPassword(req *http.Request, email, password string) (int64, []byte, bool)
- type Backend
- type GetBackendFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var _, Log = xlog.New("web.auth")
Functions ¶
func Auth_ChangeEmail_GET ¶
func Auth_ChangeEmail_GET(rw http.ResponseWriter, req *http.Request)
func Auth_ChangeEmail_POST ¶
func Auth_ChangeEmail_POST(rw http.ResponseWriter, req *http.Request)
func Auth_ChangePassword_GET ¶
func Auth_ChangePassword_GET(rw http.ResponseWriter, req *http.Request)
func Auth_ChangePassword_POST ¶
func Auth_ChangePassword_POST(rw http.ResponseWriter, req *http.Request)
func Auth_Login_GET ¶
func Auth_Login_GET(rw http.ResponseWriter, req *http.Request)
func Auth_Login_POST ¶
func Auth_Login_POST(rw http.ResponseWriter, req *http.Request)
func Auth_Logout_POST ¶
func Auth_Logout_POST(rw http.ResponseWriter, req *http.Request)
func Auth_LostPW_GET ¶
func Auth_LostPW_GET(rw http.ResponseWriter, req *http.Request)
func Auth_LostPW_POST ¶
func Auth_LostPW_POST(rw http.ResponseWriter, req *http.Request)
func Auth_Register_GET ¶
func Auth_Register_GET(rw http.ResponseWriter, req *http.Request)
func Auth_Register_POST ¶
func Auth_Register_POST(rw http.ResponseWriter, req *http.Request)
func Auth_Verify_GET ¶
func Auth_Verify_GET(rw http.ResponseWriter, req *http.Request)
Types ¶
type GetBackendFunc ¶
var GetBackend GetBackendFunc
Click to show internal directories.
Click to hide internal directories.