added: get refresh token uuid from jwt method
This commit is contained in:
parent
7e0c1e71de
commit
0a53ac2974
2 changed files with 41 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import "github.com/gin-gonic/gin"
|
|||
type Utils interface {
|
||||
IsEmail(email string) bool
|
||||
GetUserUuidFromContext(c *gin.Context) (string, error)
|
||||
GetUserAndTokenUuidFromContext(c *gin.Context) (string, string, error)
|
||||
HashPassword(password string) (string, error)
|
||||
ComparePasswords(hashedPassword string, plainPassword string) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue