session id added to claims

This commit is contained in:
nquidox 2025-09-08 23:58:44 +03:00
parent 360d265672
commit 305044a736
2 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@ import (
)
type JWTProvider interface {
CreateAccessToken(userUuid string) (string, error)
CreateAccessToken(userUuid, sessionUuid string) (string, error)
CreateRefreshToken(refreshUuid string, expires time.Time) *http.Cookie
Parse(token string) (string, string, error)
}