From 846a008c76cf8d080d9cba7a2d823ee7d7457cd5 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 29 Jan 2013 14:18:13 +0000 Subject: [PATCH] Explanation of the scope delimiter parameter --- src/OAuth2/AuthServer.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/OAuth2/AuthServer.php b/src/OAuth2/AuthServer.php index a4ce3cbf..683255ec 100644 --- a/src/OAuth2/AuthServer.php +++ b/src/OAuth2/AuthServer.php @@ -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;