We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 518ce37 + 662b1e2 commit 8d27631Copy full SHA for 8d27631
src/Introspect.php
@@ -56,6 +56,11 @@ public function mustHaveScopes(array $requiredScopes = [])
56
{
57
$result = $this->getIntrospectionResult();
58
$givenScopes = explode(' ', $result['scope']);
59
+
60
+ if (in_array('*', $givenScopes)) {
61
+ return;
62
+ }
63
64
$missingScopes = array_diff($requiredScopes, $givenScopes);
65
66
if (count($missingScopes) > 0) {
0 commit comments