Added DTOs for RefhreshToken action

This commit is contained in:
PB
2025-10-20 21:04:33 +02:00
parent fc0130e573
commit 471dd102c1

View File

@@ -9,6 +9,14 @@ type AuthLoginResponseDTO struct {
Token string `json:"token"`
}
type RefreshTokenRequestDTO struct {
RefreshToken string `json:"refresh_token"`
}
type RefreshTokenResponseDTO struct {
Token string `json:"token"`
}
type AuthRegisterRequestDTO struct {
Email string `json:"email"`
Username string `json:"username"`