api-entities/identity/dto/dto.go

11 lines
195 B
Go
Raw Permalink Normal View History

2024-12-06 13:24:56 +01:00
package identity
2022-12-18 20:51:26 +01:00
2024-12-06 13:24:56 +01:00
type AuthLoginRequestDTO struct {
2022-12-18 20:51:26 +01:00
Username string `json:"username"`
Password string `json:"password"`
}
2024-12-06 13:24:56 +01:00
type AuthLoginResponseDTO struct {
2022-12-18 20:51:26 +01:00
Token string `json:"jwt_token"`
}