From 1ec0564f407e4c34c8187234514d0fce05bb03d4 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 00000000..78931af2 --- /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; + } +}