mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 02:08:56 +05:30
Added scopeParamRequired method
This commit is contained in:
parent
03aa81450e
commit
0c30b9ca66
@ -192,6 +192,15 @@ class AuthServer
|
|||||||
$this->requireScopeParam = $require;
|
$this->requireScopeParam = $require;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Is the scope parameter required?
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function scopeParamRequired()
|
||||||
|
{
|
||||||
|
return $this->requireScopeParam;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default scope to be used if none is provided and requireScopeParam is false
|
* Default scope to be used if none is provided and requireScopeParam is false
|
||||||
* @var string
|
* @var string
|
||||||
|
Loading…
Reference in New Issue
Block a user