2025-07-06 22:21:32 +03:00
|
|
|
package interfaces
|
|
|
|
|
|
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
|
|
|
|
|
|
type Utils interface {
|
|
|
|
|
IsEmail(email string) bool
|
|
|
|
|
GetUserUuidFromContext(c *gin.Context) (string, error)
|
2025-09-14 19:32:22 +03:00
|
|
|
GetRefreshUuidFromContext(c *gin.Context) (string, error)
|
2025-07-07 11:42:54 +03:00
|
|
|
HashPassword(password string) (string, error)
|
|
|
|
|
ComparePasswords(hashedPassword string, plainPassword string) error
|
2025-07-06 22:21:32 +03:00
|
|
|
}
|