actualizado tema tokens

This commit is contained in:
fede committed 2026-11-06 18:58:56 -03:00
1 parent 38afdcc742
commit 441e2f5833
28 files changed
+506 -194

No files matched your search

+5 -3
View File
@@ -5,6 +5,7 @@ type TokenResponse struct {
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
ExpiresIn int `json:"expires_in"`
Permissions []uint `json:"permissions"`
}
type RegisterResponse struct {
@@ -14,7 +15,8 @@ type RegisterResponse struct {
}
type MeResponse struct {
ID uint `json:"id"`
Email string `json:"email"`
Name string `json:"name"`
ID uint `json:"id"`
Email string `json:"email"`
Name string `json:"name"`
Permissions []uint `json:"permissions"`
}