session id added to claims
This commit is contained in:
parent
360d265672
commit
305044a736
2 changed files with 9 additions and 9 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue