mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-07 12:33:53 +05:30
Merge branch 'release/1.0.6'
This commit is contained in:
commit
7b1b5e94cb
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# 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)
|
## 1.0.5 (released 2013-02-21)
|
||||||
|
|
||||||
* Fixed the SQL example for SessionInterface::getScopes()
|
* Fixed the SQL example for SessionInterface::getScopes()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "lncd/oauth2",
|
"name": "lncd/oauth2",
|
||||||
"description": "OAuth 2.0 Framework",
|
"description": "A lightweight and powerful OAuth 2.0 authoriation and resource server library with support for all the core specification grants",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"homepage": "https://github.com/lncd/OAuth2",
|
"homepage": "https://github.com/lncd/OAuth2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -249,7 +249,7 @@ class AuthServer
|
|||||||
public function checkAuthoriseParams($inputParams = array())
|
public function checkAuthoriseParams($inputParams = array())
|
||||||
{
|
{
|
||||||
// Auth params
|
// 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'])) {
|
if (is_null($authParams['client_id'])) {
|
||||||
throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'client_id'), 0);
|
throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'client_id'), 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user