login

package
v0.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

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.

Index

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,
	authProvider auth.Provider,
	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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL