From dc4b1734ab7e7cd60b0e0fb6aefd94043e8142e6 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Wed, 6 Mar 2024 12:51:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=BE?= =?UTF-8?q?=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD=D1=83=D1=8E=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8E=20Client=20Ent?= =?UTF-8?q?ity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com_oauthserver/site/src/Entity/Client.php | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 com_oauthserver/site/src/Entity/Client.php diff --git a/com_oauthserver/site/src/Entity/Client.php b/com_oauthserver/site/src/Entity/Client.php new file mode 100644 index 0000000..3b73ff0 --- /dev/null +++ b/com_oauthserver/site/src/Entity/Client.php @@ -0,0 +1,46 @@ +name = $name; + } + + /** + * @param string[] $redirectUri + */ + public function setRedirectUri(array $redirectUri): void + { + $this->redirectUri = $redirectUri; + } + + public function setConfidential(bool $isConfidential): void + { + $this->isConfidential = $isConfidential; + } + + public function isPlainTextPkceAllowed(): bool + { + return $this->allowPlainTextPkce; + } + + public function setAllowPlainTextPkce(bool $allowPlainTextPkce): void + { + $this->allowPlainTextPkce = $allowPlainTextPkce; + } +} \ No newline at end of file