get refresh from context

This commit is contained in:
nquidox 2025-09-14 19:32:22 +03:00
parent a66a86a0b0
commit 4cf112ad5e
2 changed files with 20 additions and 0 deletions

View file

@ -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
}