From d465cb69ea630d67d027f912d133d2aec04cb98a Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 6 Oct 2022 17:59:54 +0200 Subject: [PATCH] CookieIdentity WIP --- src/Bridges/SecurityHttp/CookieIdentity.php | 51 +++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/Bridges/SecurityHttp/CookieIdentity.php diff --git a/src/Bridges/SecurityHttp/CookieIdentity.php b/src/Bridges/SecurityHttp/CookieIdentity.php new file mode 100644 index 0000000..78931af --- /dev/null +++ b/src/Bridges/SecurityHttp/CookieIdentity.php @@ -0,0 +1,51 @@ +uid = $uid; + } + + + public function getId(): string + { + return $this->uid; + } + + + public function getRoles(): array + { + throw new Nette\NotSupportedException; + } + + + public function getData(): array + { + throw new Nette\NotSupportedException; + } +}