Merge branch 'release/1.0.6'

This commit is contained in:
Alex Bilbie 2013-02-22 15:42:38 +00:00
commit 7b1b5e94cb
3 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 1.0.6 (released 2013-02-)
* Added links to tutorials in the README
* Added missing `state` parameter request to the `checkAuthoriseParams()` method.
## 1.0.5 (released 2013-02-21)
* Fixed the SQL example for SessionInterface::getScopes()

View File

@ -1,7 +1,7 @@
{
"name": "lncd/oauth2",
"description": "OAuth 2.0 Framework",
"version": "1.0.5",
"description": "A lightweight and powerful OAuth 2.0 authoriation and resource server library with support for all the core specification grants",
"version": "1.0.6",
"homepage": "https://github.com/lncd/OAuth2",
"license": "MIT",
"require": {

View File

@ -249,7 +249,7 @@ class AuthServer
public function checkAuthoriseParams($inputParams = array())
{
// Auth params
$authParams = self::getParam(array('client_id', 'redirect_uri', 'response_type', 'scope'), 'get', $inputParams);
$authParams = self::getParam(array('client_id', 'redirect_uri', 'response_type', 'scope', 'state'), 'get', $inputParams);
if (is_null($authParams['client_id'])) {
throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'client_id'), 0);