Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmPhoneHandler ¶
type ConfirmPhoneHandler struct {
// contains filtered or unexported fields
}
func NewConfirmPhoneHandler ¶
func NewConfirmPhoneHandler( ur *repositories.UserRepository, tr *repositories.TokensRepository, jwt *services.JWTAuthenticator, jwtConfig *configs.JWTConfig, ) *ConfirmPhoneHandler
func (*ConfirmPhoneHandler) Handle ¶
func (h *ConfirmPhoneHandler) Handle(ctx fiber.Ctx) error
Confirm phone godoc
@Param body body dtos.ConfirmPhoneRequestDto true "Body" @Tags Auth Controller @Accept json @Produce json
@Success 200 {object} dtos.TokenPairResponseDto @Router /api/v1/auth/confirm-phone [post]
Click to show internal directories.
Click to hide internal directories.