Fix(BE-304):add refresh token and adjustment permission

This commit is contained in:
ragilap
2025-12-23 08:57:41 +07:00
parent ff4b4afcca
commit 2d8f20b70e
6 changed files with 119 additions and 34 deletions
@@ -0,0 +1,13 @@
package controllers
type refreshTokenResponse struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
ExpiresIn int `json:"expires_in"`
Scope string `json:"scope"`
IDToken string `json:"id_token"`
Error string `json:"error"`
Description string `json:"error_description"`
}