- WIP on authentication portal

This commit is contained in:
mcndave committed 2023-11-03 19:44:46 -04:00
1 parent 1559ceb248
commit 7769b1a1ca
15 files changed
+220 -134

No files matched your search

+7 -1
View File
@@ -2,7 +2,13 @@
namespace Ulmus\User\Entity;
interface UserInterface
use Ulmus\Entity\EntityInterface;
interface UserInterface extends EntityInterface
{
public function __toString() : string;
public function loggedIn() : bool;
public function verifyPassword(string $password) : bool;
public function hashPassword(? string $password = null) : static;
public function setPassword($password) : static;
}