Changed scope to be a delimiter to a space as required by the spec

This commit is contained in:
Alex Bilbie 2013-05-08 17:42:15 -07:00
parent f0d493b064
commit 707354348a

View File

@ -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)