api/internal/shared/auth.go
2025-09-14 19:33:23 +03:00

16 lines
224 B
Go

package shared
import (
"net/http"
"time"
)
type AuthData struct {
AccessToken string
RefreshCookie *http.Cookie
}
type CurrentSession struct {
Uuid string `json:"uuid"`
Expires time.Time `json:"expires"`
}