2025-07-07 17:45:58 +03:00
|
|
|
package shared
|
|
|
|
|
|
2025-09-14 19:33:23 +03:00
|
|
|
import (
|
|
|
|
|
"net/http"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
2025-09-09 00:00:40 +03:00
|
|
|
|
2025-07-07 17:45:58 +03:00
|
|
|
type AuthData struct {
|
2025-09-09 00:00:40 +03:00
|
|
|
AccessToken string
|
|
|
|
|
RefreshCookie *http.Cookie
|
2025-07-07 17:45:58 +03:00
|
|
|
}
|
2025-09-14 19:33:23 +03:00
|
|
|
|
|
|
|
|
type CurrentSession struct {
|
|
|
|
|
Uuid string `json:"uuid"`
|
|
|
|
|
Expires time.Time `json:"expires"`
|
|
|
|
|
}
|