Skip to content

Commit

Permalink
Revert "Merge pull request #8 from designmynight/asterisks-support"
Browse files Browse the repository at this point in the history
This reverts commit 8d27631, reversing
changes made to 518ce37.
  • Loading branch information
Jaspar Gupta committed Apr 1, 2020
1 parent ee51cb6 commit 7f19b36
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Introspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7f19b36

Please sign in to comment.