Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefreshHandler ¶
type RefreshHandler struct {
// contains filtered or unexported fields
}
func NewRefreshHandler ¶
func NewRefreshHandler( ur *repositories.UserRepository, tr *repositories.TokensRepository, jwt *services.JWTAuthenticator, jwtConfig *configs.JWTConfig, ) *RefreshHandler
func (*RefreshHandler) Handle ¶
func (h *RefreshHandler) Handle(ctx fiber.Ctx) error
TODO: add swagger response Refreshes access token using refresh token godoc
@Param Authorization header string true "123" @Param body body dtos.OTPLoginRequestDto true "Body" @Tags Auth Controller @Accept json @Produce json
@Success 200 {object} map[string]string @Router /api/v1/auth/refresh-token [post]
Click to show internal directories.
Click to hide internal directories.