summaryrefslogtreecommitdiff
path: root/core/classes/authenticator/UserToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/classes/authenticator/UserToken.php')
-rw-r--r--core/classes/authenticator/UserToken.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/core/classes/authenticator/UserToken.php b/core/classes/authenticator/UserToken.php
deleted file mode 100644
index 7758086..0000000
--- a/core/classes/authenticator/UserToken.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-
-// namespace DevCoder\Authentication\Token;
-//
-// use DevCoder\Authentication\UserInterface;
-
-/**
- * Class UserToken
- * @package DevCoder\Authentication\Token
- */
-class UserToken implements UserTokenInterface
-{
- /**
- * @var UserInterface
- */
- private $user;
-
- public function __construct(UserInterface $user)
- {
- $this->user = $user;
- }
-
- public function getUser(): UserInterface
- {
- return $this->user;
- }
-
- public function serialize(): string
- {
- return serialize($this);
- }
-}