get expiry time from provider

This commit is contained in:
nquidox 2025-09-14 14:13:35 +03:00
parent e051c1d17f
commit 1cb033d526
4 changed files with 22 additions and 9 deletions

View file

@ -9,4 +9,5 @@ type JWTProvider interface {
CreateAccessToken(userUuid, sessionUuid string) (string, error)
CreateRefreshToken(refreshUuid string, expires time.Time) *http.Cookie
Parse(token string) (string, error)
RefreshExpires() time.Duration
}