handler

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 19 Imported by: 1

Documentation

Overview

Package handler ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate2FA

func Activate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

Activate2FA handles jobs for controller.Activate2FA

func CreateUserAuth

func CreateUserAuth(auth model.Auth) (httpResponse model.HTTPResponse, httpStatusCode int)

CreateUserAuth handles tasks for controller.CreateUserAuth

func CreateVerificationEmail

func CreateVerificationEmail(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

CreateVerificationEmail handles jobs for controller.CreateVerificationEmail

func Deactivate2FA

func Deactivate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

Deactivate2FA handles jobs for controller.Deactivate2FA

func Login

func Login(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

Login handles jobs for controller.Login

func PasswordForgot

func PasswordForgot(authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

PasswordForgot handles jobs for controller.PasswordForgot

func PasswordRecover

func PasswordRecover(authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

PasswordRecover handles jobs for controller.PasswordRecover

func PasswordUpdate

func PasswordUpdate(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

PasswordUpdate handles jobs for controller.PasswordUpdate

func Refresh

func Refresh(claims middleware.MyCustomClaims) (httpResponse model.HTTPResponse, httpStatusCode int)

Refresh handles jobs for controller.Refresh

func Setup2FA

func Setup2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

Setup2FA handles jobs for controller.Setup2FA

func Validate2FA

func Validate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

Validate2FA handles jobs for controller.Validate2FA

func VerifyEmail

func VerifyEmail(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)

VerifyEmail handles jobs for controller.VerifyEmail

Types

This section is empty.

Jump to

Keyboard shortcuts

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