21 lines
397 B
Go
21 lines
397 B
Go
package identity
|
|
|
|
type AuthLoginRequestDTO struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type AuthLoginResponseDTO struct {
|
|
Token string `json:"token"`
|
|
}
|
|
|
|
type AuthRegisterRequestDTO struct {
|
|
Email string `json:"email"`
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type AuthRegisterResponseDTO struct {
|
|
ID string `json:"id"`
|
|
}
|