Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthHandler ¶
func NewAuthHandler(cfg *config.Config, service userservice.UserService, jwtHelper helper.JWTHelper) handler.Handler
Types ¶
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { }
type UserLoginRequest ¶
type UserRegistrationRequest ¶
type UserRegistrationRequest struct { Password string `json:"password" validate:"required"` Email string `json:"email" validate:"required,email"` PhoneNumber string `json:"phone_number" validate:"min=9,max=12,required,numeric"` FirstName string `json:"first_name" validate:"required"` LastName string `json:"last_name" validate:"required"` RePassword string `json:"re_password" validate:"required"` }
type VerifyOTPRequest ¶
type VerifyOTPRequest struct { }
Click to show internal directories.
Click to hide internal directories.