Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogoutHandler ¶
type LogoutHandler struct {
// contains filtered or unexported fields
}
func NewLogoutHandler ¶
func NewLogoutHandler( tr *repositories.TokensRepository, jwt *services.JWTAuthenticator, ) *LogoutHandler
func (*LogoutHandler) Handle ¶
func (h *LogoutHandler) Handle(ctx fiber.Ctx) error
Logout godoc
@Param Authorization header string true "123" @Tags Auth Controller @Accept json @Produce json
@Success 200 {object} map[string]string @Router /api/v1/auth/logout [post]
Click to show internal directories.
Click to hide internal directories.