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.
grant_types
scopes
1 parent 72e805a commit a56f7ddCopy full SHA for a56f7dd
src/Client.php
@@ -164,7 +164,7 @@ public function skipsAuthorization()
164
*/
165
public function hasGrantType($grantType)
166
{
167
- if (! isset($this->grant_types) || ! is_array($this->grant_types)) {
+ if (! isset($this->attributes['grant_types']) || ! is_array($this->grant_types)) {
168
return true;
169
}
170
@@ -179,7 +179,7 @@ public function hasGrantType($grantType)
179
180
public function hasScope($scope)
181
182
- if (! isset($this->scopes) || ! is_array($this->scopes)) {
+ if (! isset($this->attributes['scopes']) || ! is_array($this->scopes)) {
183
184
185
0 commit comments