created: jwt provider

This commit is contained in:
nquidox 2025-07-06 22:25:10 +03:00
parent 7e5010ac78
commit bc2038ef34
3 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,7 @@
package interfaces
type JWTProvider interface {
CreateAccessToken(userUuid string) (string, error)
CreateRefreshToken(userUuid, tokenUuid string) (string, int64, error)
Parse(token string) (string, string, error)
}