Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 403e2a390b | |||
| fc0130e573 | |||
| f675a12790 |
@@ -6,5 +6,23 @@ type AuthLoginRequestDTO struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type AuthLoginResponseDTO struct {
|
type AuthLoginResponseDTO struct {
|
||||||
Token string `json:"jwt_token"`
|
Token string `json:"token"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type AuthRefreshTokenRequestDTO struct {
|
||||||
|
RefreshToken string `json:"refresh_token"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type AuthRefreshTokenResponseDTO 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"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user