From 822669fc0c67d6e7d7ab2e7f83ab3ee2e02fb2b9 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 21 Feb 2013 17:51:01 +0000 Subject: [PATCH 1/2] Update getScopes --- src/OAuth2/Storage/SessionInterface.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/OAuth2/Storage/SessionInterface.php b/src/OAuth2/Storage/SessionInterface.php index 4d1b3fdc..ced7f555 100644 --- a/src/OAuth2/Storage/SessionInterface.php +++ b/src/OAuth2/Storage/SessionInterface.php @@ -225,8 +225,7 @@ interface SessionInterface * Example SQL query: * * - * SELECT oauth_scopes.scope, oauth_scopes.name, oauth_scopes.description - * FROM oauth_session_scopes JOIN oauth_scopes ON + * SELECT oauth_scopes.scope FROM oauth_session_scopes JOIN oauth_scopes ON * oauth_session_scopes.scope_id = oauth_scopes.id WHERE * session_id = $sessionId * @@ -236,12 +235,11 @@ interface SessionInterface * * Array * ( - * [0] => Array - * ( - * [scope] => (string) The scope - * [name] => (string) The scope's name - * [description] => (string) The scope's description - * ) + * [0] => (string) The scope + * [1] => (string) The scope + * [2] => (string) The scope + * ... + * ... * ) * * From e555f67c8dc13f9fea662ba5342bc75948cd59f6 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 21 Feb 2013 17:51:51 +0000 Subject: [PATCH 2/2] v1.0.5 --- CHANGELOG.md | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4338bd4..1c3669d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.0.4 (released 2013-02-21) +## 1.0.5 (released 2013-02-21) * Fixed the SQL example for SessionInterface::getScopes() diff --git a/composer.json b/composer.json index 41d62f39..31e049a9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "lncd/oauth2", "description": "OAuth 2.0 Framework", - "version": "1.0.4", + "version": "1.0.5", "homepage": "https://github.com/lncd/OAuth2", "license": "MIT", "require": {