Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(jwtCustomService service.JWTCustomService) http.HandlerFunc
@Summary Авторизация @Security Api-Token @Tags Auth @Description Авторизация @Produce json @Param authQuery body request.Credentials true "Модель авторизации" @Success 200 @Failure 400 "Ошибки валидации входных параметров" @Failure 500 "Неизвестная внутренняя ошибка" @Router /api/v1/auth [post]
func RefreshTokens ¶
func RefreshTokens(jwtCustomService service.JWTCustomService) http.HandlerFunc
@Summary Обновление токенов @Security jwt @Tags Auth @Description Обновление токенов @Produce json @Param authQuery body request.JwtCustom true "Модель токенов" @Success 200 {object} response.JwtCustom @Failure 400 "Ошибки валидации входных параметров" @Failure 500 "Неизвестная внутренняя ошибка" @Router /api/v1/refresh [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.