session id check by refresh token
This commit is contained in:
parent
a8c974994b
commit
6d20fc3ed6
11 changed files with 74 additions and 103 deletions
|
|
@ -5,7 +5,7 @@ import "github.com/gin-gonic/gin"
|
|||
type Utils interface {
|
||||
IsEmail(email string) bool
|
||||
GetUserUuidFromContext(c *gin.Context) (string, error)
|
||||
GetAllTokensFromContext(c *gin.Context) (string, string, string, error)
|
||||
GetAllTokensFromContext(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