mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Explanation of the scope delimiter parameter
This commit is contained in:
parent
a189156f26
commit
846a008c76
@ -8,6 +8,14 @@ use OAuth2\Storage\ScopeInterface;
|
|||||||
|
|
||||||
class AuthServer
|
class AuthServer
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The delimeter between scopes specified in the scope query string parameter
|
||||||
|
*
|
||||||
|
* The OAuth 2 specification states it should be a space but that is stupid
|
||||||
|
* and everyone excepted Google use a comma instead.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $scopeDelimeter = ',';
|
protected $scopeDelimeter = ',';
|
||||||
|
|
||||||
protected $expiresIn = 3600;
|
protected $expiresIn = 3600;
|
||||||
|
Loading…
Reference in New Issue
Block a user