get expiry time from provider
This commit is contained in:
parent
e051c1d17f
commit
1cb033d526
4 changed files with 22 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue