sessions added, refresh token moved to cookie

This commit is contained in:
nquidox 2025-09-09 00:00:40 +03:00
parent 9eba8b4555
commit 4a5d488ec5
4 changed files with 35 additions and 20 deletions

View file

@ -1,6 +1,8 @@
package shared
import "net/http"
type AuthData struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
AccessToken string
RefreshCookie *http.Cookie
}