Documentation ¶
Overview ¶
Package auth contains the authentication system
Package auth contains the authentication system ¶
Package auth contains the authentication system ¶
Package auth contains the authentication system ¶
Package auth contains the authentication system
Index ¶
- func Check(w http.ResponseWriter, r *http.Request) (bool, interfaces.User)
- func EmailConfirm(w http.ResponseWriter, r *http.Request)
- func HTTPCheck(w http.ResponseWriter, r *http.Request)
- func InitStore(cfg interfaces.Configuration)
- func Login(w http.ResponseWriter, r *http.Request)
- func PasswordChange(w http.ResponseWriter, r *http.Request)
- func PasswordForgot(w http.ResponseWriter, r *http.Request)
- func PasswordReset(w http.ResponseWriter, r *http.Request)
- func Register(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(w http.ResponseWriter, r *http.Request) (bool, interfaces.User)
Check authentication
func EmailConfirm ¶
func EmailConfirm(w http.ResponseWriter, r *http.Request)
EmailConfirm HTTP handler
func InitStore ¶
func InitStore(cfg interfaces.Configuration)
InitStore initializes the cookie store
func PasswordChange ¶
func PasswordChange(w http.ResponseWriter, r *http.Request)
PasswordChange HTTP handler
func PasswordForgot ¶
func PasswordForgot(w http.ResponseWriter, r *http.Request)
PasswordForgot HTTP handler
func PasswordReset ¶
func PasswordReset(w http.ResponseWriter, r *http.Request)
PasswordReset HTTP handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.