From 7f19b366e8e5e732fc6979b00e6b8bec75e4d87a Mon Sep 17 00:00:00 2001 From: Jaspar Gupta Date: Wed, 1 Apr 2020 17:56:22 +0100 Subject: [PATCH] Revert "Merge pull request #8 from designmynight/asterisks-support" This reverts commit 8d27631a9ec1b4e71908774c7085608d8678c970, reversing changes made to 518ce375b6edd18a06f6d065301dba377ef6b15f. --- src/Introspect.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Introspect.php b/src/Introspect.php index 7d9f45f..fb60aae 100644 --- a/src/Introspect.php +++ b/src/Introspect.php @@ -57,11 +57,6 @@ public function mustHaveScopes(array $requiredScopes = []) { $result = $this->getIntrospectionResult(); $givenScopes = explode(' ', $result['scope']); - - if (in_array('*', $givenScopes)) { - return; - } - $missingScopes = array_diff($requiredScopes, $givenScopes); if (count($missingScopes) > 0) {