Skip to content

Commit

Permalink
Changed scope to be a delimiter to a space as required by the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed May 9, 2013
1 parent f0d493b commit 7073543
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/League/OAuth2/Server/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ class Authorization
/**
* 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.
*
* The OAuth 2 specification states it should be a space but most use a comma
* @var string
*/
protected $scopeDelimeter = ',';
protected $scopeDelimeter = ' ';

/**
* The TTL (time to live) of an access token in seconds (default: 3600)
Expand Down

0 comments on commit 7073543

Please sign in to comment.