- WIP on authentication portal
This commit is contained in:
1 parent
1559ceb248
commit
7769b1a1ca
15 files changed
+220
-134
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user