auth

package
v0.0.0-...-3ce79b3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Admin

func Admin(c echo.Context) error

Admin shows admin

func Confirm

func Confirm(c echo.Context) error

Confirm confirms a user account.

func IsAdmin

func IsAdmin(next echo.HandlerFunc) echo.HandlerFunc

IsAdmin returns true if user is admin

func Login

func Login(c echo.Context) error

Login handle user authentication

func NewPassword

func NewPassword(c echo.Context) error

NewPassword handle password reset.

func ReconfirmAccount

func ReconfirmAccount(c echo.Context) error

ReconfirmAccount resend email confirmation.

func ResetPassword

func ResetPassword(c echo.Context) error

ResetPassword handle password reset.

func UpdateEmail

func UpdateEmail(c echo.Context) error

UpdateEmail handle email update.

func UpdatePassword

func UpdatePassword(c echo.Context) error

UpdatePassword handle password reset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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