Add isConfidential function to client entity trait

This commit is contained in:
Andrew Millington 2018-08-12 20:26:46 +01:00
parent 838f206832
commit d07b5a4a03
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -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;
}
}