auth

package
v1.1.6-beta-1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(sg *echo.Group)

func GenerateQRHandler

func GenerateQRHandler(c echo.Context) error

func SetService

func SetService(svc Service)

func SigninHandler

func SigninHandler(c echo.Context) error

func Signup

func Signup(ctx context.ServiceContext, client *clients.GQLClient, options *commons.SignupOptions) error

func SignupHandler

func SignupHandler(c echo.Context) error

func ToggleMFAHandler

func ToggleMFAHandler(c echo.Context) error

func UpdatePassword

func UpdatePassword(ctx context.ServiceContext, client *clients.HTTPClient, options *commons.UpdatePasswordOptions) error

func UpdatePasswordHandler

func UpdatePasswordHandler(c echo.Context) error

Types

type DefaultService

type DefaultService struct{}

func (*DefaultService) DecryptKeysFromSession

func (*DefaultService) GenerateTOTPQR

func (*DefaultService) SigninWithMFA

func (*DefaultService) SigninWithPassword

func (*DefaultService) ToggleMFA

Remember: Passing a nil value to the "ActiveMFAType" option will deactivate MFA.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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