Skip to content

Commit

Permalink
Merge pull request #10 from designmynight/revert
Browse files Browse the repository at this point in the history
Revert "Merge pull request #8 from designmynight/asterisks-support"
  • Loading branch information
Jaspar Gupta authored Apr 2, 2020
2 parents ee51cb6 + 7f19b36 commit 4496bbe
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 4496bbe

Please sign in to comment.