Documentation ¶
Overview ¶
Package handler ...
Index ¶
- func Activate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func CreateUserAuth(auth model.Auth) (httpResponse model.HTTPResponse, httpStatusCode int)
- func CreateVerificationEmail(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func Deactivate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func Login(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func PasswordForgot(authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func PasswordRecover(authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func PasswordUpdate(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func Refresh(claims middleware.MyCustomClaims) (httpResponse model.HTTPResponse, httpStatusCode int)
- func Setup2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func Validate2FA(claims middleware.MyCustomClaims, authPayload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
- func VerifyEmail(payload model.AuthPayload) (httpResponse model.HTTPResponse, httpStatusCode int)
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.