mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-02-23 19:27:42 +05:30
Changed scope to be a delimiter to a space as required by the spec
This commit is contained in:
parent
f0d493b064
commit
707354348a
@ -26,12 +26,10 @@ class Authorization
|
|||||||
/**
|
/**
|
||||||
* The delimeter between scopes specified in the scope query string parameter
|
* 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
|
* The OAuth 2 specification states it should be a space but most use a comma
|
||||||
* and everyone excepted Google use a comma instead.
|
|
||||||
*
|
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $scopeDelimeter = ',';
|
protected $scopeDelimeter = ' ';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The TTL (time to live) of an access token in seconds (default: 3600)
|
* The TTL (time to live) of an access token in seconds (default: 3600)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user