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