From d9167fb5318d5370ba5445e94c0e0f9b64341df4 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 13 Mar 2023 02:22:07 +0200 Subject: authentication skeleton --- core/classes/authenticator/User.php | 102 ------------------------------------ 1 file changed, 102 deletions(-) delete mode 100644 core/classes/authenticator/User.php (limited to 'core/classes/authenticator/User.php') diff --git a/core/classes/authenticator/User.php b/core/classes/authenticator/User.php deleted file mode 100644 index b99fa70..0000000 --- a/core/classes/authenticator/User.php +++ /dev/null @@ -1,102 +0,0 @@ -userName; - } - - /** getPassword - * @return null|string - */ - public function getPassword(): ?string - { - return $this->password; - } - - /** getRoles - * @return array - */ - public function getRoles(): array - { - return $this->roles; - } - - /** isEnabled - * @return bool - */ - public function isEnabled(): bool - { - return $this->enabled; - } - - - /** SETs - * ------------------------------------------------------------------------- - */ - - /** setUserName - * @param string $userName - * @return User - */ - public function setUserName(string $userName): self - { - $this->userName = $userName; - return $this; - } - - /** setPassword - * @param string $password - * @return User - */ - public function setPassword(string $password): self - { - $this->password = $password; - return $this; - } - - /** setRoles - * @param array $roles - * @return User - */ - public function setRoles(array $roles): self - { - $this->roles = $roles; - return $this; - } - - /** - * @param bool $enabled - * @return User - */ - public function setEnabled(bool $enabled): self - { - $this->enabled = $enabled; - return $this; - } -} -- cgit v1.2.3