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.
Index ¶
- type Controller
- func (c *Controller) HandleCreateSession() http.Handler
- func (c *Controller) HandleLogin() http.Handler
- func (c *Controller) HandleLoginCreate() http.Handler
- func (c *Controller) HandleRegisterPhone() http.Handler
- func (c *Controller) HandleResetPassword() http.Handler
- func (c *Controller) HandleSignOut() http.Handler
- func (c *Controller) HandleVerifyEmail() 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(ctx context.Context, client *auth.Client, config *config.ServerConfig, db *database.Database, h *render.Renderer) *Controller
New creates a new login controller.
func (*Controller) HandleCreateSession ¶
func (c *Controller) HandleCreateSession() http.Handler
func (*Controller) HandleLogin ¶
func (c *Controller) HandleLogin() http.Handler
func (*Controller) HandleLoginCreate ¶
func (c *Controller) HandleLoginCreate() http.Handler
func (*Controller) HandleRegisterPhone ¶
func (c *Controller) HandleRegisterPhone() http.Handler
func (*Controller) HandleResetPassword ¶ added in v0.7.0
func (c *Controller) HandleResetPassword() http.Handler
func (*Controller) HandleSignOut ¶
func (c *Controller) HandleSignOut() http.Handler
func (*Controller) HandleVerifyEmail ¶
func (c *Controller) HandleVerifyEmail() http.Handler
Click to show internal directories.
Click to hide internal directories.