feat: applied auth wirth session token on dart backend

This commit is contained in:
2025-01-04 14:50:08 +00:00
parent 55edac6abe
commit e9221f36ef
13 changed files with 146 additions and 236 deletions
@@ -3,7 +3,7 @@ package dto
// TokenResponseDTO represents the response for a token generation or validation.
type TokenResponseDTO struct {
Token string `json:"token"`
UserID string `json:"user_id"`
UserID string `json:"userId"`
}
// LoginRequestDTO represents the login request.