Alex Bilbie
c5f48782e6
$accessToken should be protected not public
2014-01-17 17:16:52 +00:00
Alex Bilbie
11e0b004bd
Numerous updates
2014-01-16 16:50:16 +00:00
Alex Bilbie
ca3b7d51df
Added abstract server
2014-01-10 17:30:12 +00:00
Alex Bilbie
0250d8d4d1
Too many changes to describe
2014-01-08 16:15:29 +00:00
Alex Bilbie
5cd420bd5d
Updated resource server
2013-12-24 17:02:49 +00:00
Alex Bilbie
449ba5005c
First commit of updated ResourceServer
2013-12-16 23:47:03 +00:00
Alex Bilbie
44408b873f
Make sure $this is returned
2013-11-25 23:58:42 +00:00
Jason Grimes
e5a48c929b
Make determineAccessToken() public in order to check if an access token was sent before checking its validity.
2013-06-05 23:59:29 -04:00
Alex McRoberts
a4a8f6e661
This fixes #57 . By passing in a conditional flag refering to headersOnly, the library would stil respect RFC6749 Section 7 and RFC6750 Section 2.
2013-05-27 21:27:30 -07:00
Alex Bilbie
47c24e3181
Corrected array key call. Fixes #63
2013-05-27 20:33:07 +02:00
Alex Bilbie
05d4b68586
Optimised regex and re-added trim() following conversation in #52
2013-05-10 23:00:47 -07:00
Alex Bilbie
8c4019693b
Updated @ziege's patch to overcome awkward access token definition requirement (i.e. access token can have a space in it) and also optimised code. Fixes #52
2013-05-10 12:57:34 -07:00
ziege
b88ef82563
Fixed two probems in access token check
...
1) The method returned the wrong result in case when the access token itself contained the string "Bearer".
2) When using cURL, the request is sometimes send twice (in my case when the first request returned a 404 error), and the Authorization header of the second request is doubled, so that you get a "Authorization: Bearer XXX, Bearer XXX". This case is checked now. (BTW: Tested with the current PHP version 5.4.15 on Windows.)
2013-05-10 20:00:01 +02:00
Alex Bilbie
1e57533127
Added getClientId method
2013-05-08 18:06:18 -07:00
Alex Bilbie
0812ca2927
Added missing clientId variable, fixed docblock
2013-05-08 13:59:17 -07:00
Alex Bilbie
437833cd32
Renamed AuthServer to Authorization, renamed ResourceServer to Resource. Updated all tests and other files
2013-05-08 11:42:23 -07:00