Explanation of the scope delimiter parameter

This commit is contained in:
Alex Bilbie 2013-01-29 14:18:13 +00:00
parent a189156f26
commit 846a008c76

View File

@ -8,6 +8,14 @@ use OAuth2\Storage\ScopeInterface;
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 $expiresIn = 3600;