get refresh from context
This commit is contained in:
parent
a66a86a0b0
commit
4cf112ad5e
2 changed files with 20 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)
|
||||
GetRefreshUuidFromContext(c *gin.Context) (string, error)
|
||||
HashPassword(password string) (string, error)
|
||||
ComparePasswords(hashedPassword string, plainPassword string) error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue