From d07b5a4a03a8e15fecd34736b04281f15ce9caee Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Sun, 12 Aug 2018 20:26:46 +0100 Subject: [PATCH] Add isConfidential function to client entity trait --- src/Entities/Traits/ClientTrait.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Entities/Traits/ClientTrait.php b/src/Entities/Traits/ClientTrait.php index fec76a6f..f73bc2e0 100644 --- a/src/Entities/Traits/ClientTrait.php +++ b/src/Entities/Traits/ClientTrait.php @@ -21,6 +21,11 @@ trait ClientTrait */ protected $redirectUri; + /** + * @var bool + */ + protected $isConfidential; + /** * Get the client's name. * @@ -43,4 +48,14 @@ trait ClientTrait { return $this->redirectUri; } + + /** + * Returns true if the client is confidential. + * + * @return bool + */ + public function isConfidential() + { + return $this->isConfidential; + } }