Documentation ¶
Overview ¶
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Package login defines the controller for the login page.
Index ¶
- type Controller
- func (c *Controller) HandleAccountSettings() http.Handler
- func (c *Controller) HandleCreateSession() http.Handler
- func (c *Controller) HandleLogin() http.Handler
- func (c *Controller) HandlePostAuthenticate() http.Handler
- func (c *Controller) HandleReauth() http.Handler
- func (c *Controller) HandleReceiveVerifyEmail() http.Handler
- func (c *Controller) HandleRegisterPhone() http.Handler
- func (c *Controller) HandleSelectRealm() http.Handler
- func (c *Controller) HandleShowChangePassword() http.Handler
- func (c *Controller) HandleShowResetPassword() http.Handler
- func (c *Controller) HandleShowSelectNewPassword() http.Handler
- func (c *Controller) HandleShowVerifyEmail() http.Handler
- func (c *Controller) HandleSignOut() http.Handler
- func (c *Controller) HandleSubmitChangePassword() http.Handler
- func (c *Controller) HandleSubmitNewPassword() http.Handler
- func (c *Controller) HandleSubmitResetPassword() http.Handler
- func (c *Controller) HandleSubmitVerifyEmail() http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(authProvider auth.Provider, cacher cache.Cacher, config *config.ServerConfig, db *database.Database, h *render.Renderer) *Controller
New creates a new login controller.
func (*Controller) HandleAccountSettings ¶ added in v0.9.0
func (c *Controller) HandleAccountSettings() http.Handler
func (*Controller) HandleCreateSession ¶
func (c *Controller) HandleCreateSession() http.Handler
func (*Controller) HandleLogin ¶
func (c *Controller) HandleLogin() http.Handler
func (*Controller) HandlePostAuthenticate ¶ added in v0.20.0
func (c *Controller) HandlePostAuthenticate() http.Handler
func (*Controller) HandleReauth ¶ added in v0.10.0
func (c *Controller) HandleReauth() http.Handler
func (*Controller) HandleReceiveVerifyEmail ¶ added in v0.14.0
func (c *Controller) HandleReceiveVerifyEmail() http.Handler
func (*Controller) HandleRegisterPhone ¶
func (c *Controller) HandleRegisterPhone() http.Handler
func (*Controller) HandleSelectRealm ¶ added in v0.8.0
func (c *Controller) HandleSelectRealm() http.Handler
func (*Controller) HandleShowChangePassword ¶ added in v0.10.0
func (c *Controller) HandleShowChangePassword() http.Handler
func (*Controller) HandleShowResetPassword ¶ added in v0.10.0
func (c *Controller) HandleShowResetPassword() http.Handler
func (*Controller) HandleShowSelectNewPassword ¶ added in v0.10.0
func (c *Controller) HandleShowSelectNewPassword() http.Handler
func (*Controller) HandleShowVerifyEmail ¶ added in v0.11.1
func (c *Controller) HandleShowVerifyEmail() http.Handler
func (*Controller) HandleSignOut ¶
func (c *Controller) HandleSignOut() http.Handler
HandleSignOut handles session termination. It's possible for a user to navigate to this page directly (without auth).
func (*Controller) HandleSubmitChangePassword ¶ added in v0.10.0
func (c *Controller) HandleSubmitChangePassword() http.Handler
func (*Controller) HandleSubmitNewPassword ¶ added in v0.9.0
func (c *Controller) HandleSubmitNewPassword() http.Handler
func (*Controller) HandleSubmitResetPassword ¶ added in v0.10.0
func (c *Controller) HandleSubmitResetPassword() http.Handler
func (*Controller) HandleSubmitVerifyEmail ¶ added in v0.11.1
func (c *Controller) HandleSubmitVerifyEmail() http.Handler