auth_handler

package
v0.0.0-...-a2883fb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHttpHandler

func NewAuthHttpHandler(
	r *mux.Router,
	config *config.AuthConfig,
	mongoFactory *factories.MongoFactory,
	grpcClientFactory *factories.GrpcClientFactory,
)

Types

type AuthHttpHandler

type AuthHttpHandler struct {
	Cfg         *config.AuthConfig
	AuthUsecase usecases.AuthUsecase
}

func (*AuthHttpHandler) EmailVerified

func (x *AuthHttpHandler) EmailVerified(w http.ResponseWriter, r *http.Request)

func (*AuthHttpHandler) Login

func (*AuthHttpHandler) PasswordEmail

func (x *AuthHttpHandler) PasswordEmail(w http.ResponseWriter, r *http.Request)

func (*AuthHttpHandler) PasswordReset

func (x *AuthHttpHandler) PasswordReset(w http.ResponseWriter, r *http.Request)

func (*AuthHttpHandler) Register

func (x *AuthHttpHandler) Register(w http.ResponseWriter, r *http.Request)

func (*AuthHttpHandler) SendEmailVerified

func (x *AuthHttpHandler) SendEmailVerified(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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