diff --git a/src/Passport/Client.php b/src/Passport/Client.php index 9e07f07..19e7ea1 100644 --- a/src/Passport/Client.php +++ b/src/Passport/Client.php @@ -78,5 +78,15 @@ public function firstParty() public function skipsAuthorization() { return false; - } + } + + /** + * Determine if the client is a confidential client. + * + * @return bool + */ + public function confidential() + { + return !empty($this->secret); + } }