Documentation ¶
Index ¶
- func NewAuthHttpHandler(r *mux.Router, config *config.AuthConfig, mongoFactory *factories.MongoFactory, ...)
- type AuthHttpHandler
- func (x *AuthHttpHandler) EmailVerified(w http.ResponseWriter, r *http.Request)
- func (x *AuthHttpHandler) Login(w http.ResponseWriter, r *http.Request)
- func (x *AuthHttpHandler) PasswordEmail(w http.ResponseWriter, r *http.Request)
- func (x *AuthHttpHandler) PasswordReset(w http.ResponseWriter, r *http.Request)
- func (x *AuthHttpHandler) Register(w http.ResponseWriter, r *http.Request)
- func (x *AuthHttpHandler) SendEmailVerified(w http.ResponseWriter, r *http.Request)
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 (x *AuthHttpHandler) Login(w http.ResponseWriter, r *http.Request)
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)
Click to show internal directories.
Click to hide internal directories.