Private
Public Access
actualizado tema tokens
This commit is contained in:
1 parent
38afdcc742
commit
441e2f5833
28 files changed
+506
-194
No files matched your search
+5
-3
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user