Compare commits

...

3 Commits
0.2.2 ... 0.2.1

Author SHA1 Message Date
Alex Bilbie
0af98224dd Merge branch 'hotfix/0.2.1' 2012-08-28 12:31:07 +01:00
Alex Bilbie
88185320a8 Version bump 2012-08-28 12:30:58 +01:00
Alex Bilbie
a1e5fdddda Bug fix 2012-08-28 12:30:51 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "lncd/Oauth2",
"description": "OAuth 2.0 Framework",
"version": "0.2",
"version": "0.2.1",
"homepage": "https://github.com/lncd/OAuth2",
"license": "MIT",
"require": {

View File

@@ -114,6 +114,9 @@ class Server
{
$accessToken = null;
$_SERVER['REQUEST_METHOD'] = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : null;
// Try and get the access token via an access_token or oauth_token parameter
switch ($_SERVER['REQUEST_METHOD'])
{