Alex Bilbie
|
130d42c85e
|
Removed some files which shouldn't be there
|
2014-08-06 09:37:19 +01:00 |
|
Alex Bilbie
|
0433791bc6
|
Accidentally merged wrong version of file
|
2014-08-06 09:29:32 +01:00 |
|
Alex Bilbie
|
79f15f3855
|
Merge branch 'v4.0.0-WIP' into develop
Conflicts:
.gitignore
.travis.yml
README.md
composer.json
phpunit.xml
sql/mysql.sql
src/League/OAuth2/Server/Grant/RefreshToken.php
src/League/OAuth2/Server/Resource.php
src/League/OAuth2/Server/Storage/SessionInterface.php
src/League/OAuth2/Server/Util/Request.php
src/Util/KeyAlgorithm/DefaultAlgorithm.php
tests/resource/ResourceServerTest.php
tests/util/RedirectUriTest.php
tests/util/RequestTest.php
tests/util/SecureKeyTest.php
|
2014-08-06 09:21:56 +01:00 |
|
Alex Bilbie
|
0754b9ec75
|
Merge branch 'v4.0.0-relational-example' into v4.0.0-WIP
|
2014-08-06 09:02:54 +01:00 |
|
Alex Bilbie
|
06d5b343d6
|
Fixed incorrect exception status code and error type
|
2014-08-06 08:42:58 +01:00 |
|
Alex Bilbie
|
07a42f6f43
|
Added setAccessTokenId method
|
2014-08-06 08:42:42 +01:00 |
|
Alex Bilbie
|
71ac21b70e
|
Removed unnecessary methods
|
2014-08-06 08:41:50 +01:00 |
|
Alex Bilbie
|
7b9899c46b
|
Removed line break in error messages
|
2014-08-04 09:11:53 +01:00 |
|
Alex Bilbie
|
f3fc921212
|
Added redirect URI property
|
2014-07-27 17:16:46 +01:00 |
|
Alex Bilbie
|
54e6bbd4a6
|
expires isn't part of the spec
|
2014-07-27 17:15:55 +01:00 |
|
Alex Bilbie
|
0d6c4f65b9
|
Store the redirect URI too
|
2014-07-27 17:14:50 +01:00 |
|
Robbie Mackay
|
49b776c495
|
In Resource::getExceptionHttpHeaders() use Request::BuildFromGlobals
|
2014-07-23 07:48:05 -07:00 |
|
Woody Gilk
|
31e03c2d36
|
Fix broken http header extraction in Util\Request
|
2014-07-23 07:47:29 -07:00 |
|
Alex Bilbie
|
20032f33a2
|
More tests
|
2014-07-12 12:07:46 +01:00 |
|
Alex Bilbie
|
b694cca743
|
Fix broken test
|
2014-07-12 08:58:18 +01:00 |
|
Alex Bilbie
|
1e78f62823
|
Lotsa bug fixes and updates
|
2014-07-11 18:27:03 +01:00 |
|
Alex Bilbie
|
48dea185d8
|
Added getEventEmitter method to abstractserver
|
2014-07-11 18:18:41 +01:00 |
|
Woody Gilk
|
f34dd4a0cb
|
401 status is for invalid_token, not insufficient_scope
|
2014-07-11 11:59:18 -05:00 |
|
Alex Bilbie
|
0a3215be8e
|
Added entity trate
|
2014-07-11 15:18:47 +01:00 |
|
Alex Bilbie
|
954f29f879
|
Added league/event and implemented SessionOwnerEvent
|
2014-07-11 15:13:28 +01:00 |
|
Woody Gilk
|
33f4f5b7ab
|
Add $required parameter to hasScope(), triggers InsufficientScopeException
|
2014-07-10 17:02:16 -05:00 |
|
Woody Gilk
|
e61782975a
|
Copy getExceptionType(), getExceptionMessage(), and getExceptionHttpHeaders() to Resource server
|
2014-07-10 17:02:16 -05:00 |
|
Woody Gilk
|
d7c1c50269
|
Throw MissingAccessTokenException in the Resource server when no token exists
|
2014-07-10 16:59:25 -05:00 |
|
Fahmi Ardi
|
92779ad078
|
missing clientSecret variable
|
2014-07-03 15:03:58 +07:00 |
|
Fahmi Ardi
|
83c7dea1cc
|
allowing client crendentials to be sent as Basic authentication
|
2014-07-03 14:58:13 +07:00 |
|
Alex Bilbie
|
33c68a2103
|
More updates to relational example
|
2014-06-23 08:20:34 +01:00 |
|
Alex Bilbie
|
9af1d2a201
|
100% test coverage
|
2014-06-20 14:29:47 +01:00 |
|
Alex Bilbie
|
f24d1be3e9
|
Merge branch 'refs/heads/v4.0.0-WIP' into v4.0.0-relational-example
|
2014-06-20 14:16:40 +01:00 |
|
Alex Bilbie
|
80802e5df4
|
Merge branch 'v4.0.0-WIP' of github.com:php-loep/oauth2-server into v4.0.0-WIP
|
2014-06-20 14:16:09 +01:00 |
|
Dustin Wheeler
|
c1269a97d6
|
Adds create method to AuthCodeInterface. Relates to #160.
|
2014-05-29 19:27:45 -07:00 |
|
Alex Bilbie
|
5e4cd98706
|
Use US spelling
|
2014-05-23 16:26:29 +01:00 |
|
Andrew Cairns
|
400d4d8f1e
|
Fixing Bearer case for consistency
|
2014-05-20 17:13:29 +01:00 |
|
Alex Bilbie
|
81e9e7364b
|
Removed example SQL
|
2014-05-09 10:08:00 +01:00 |
|
Alex Bilbie
|
11664e6d37
|
Added ability to cast token as a string
|
2014-05-09 08:16:02 +01:00 |
|
Alex Bilbie
|
d40ee11ef5
|
Scope entity is json serializable
|
2014-05-08 11:55:04 +01:00 |
|
Alex Bilbie
|
b9cedc8b93
|
PSR fixes
|
2014-05-08 11:52:51 +01:00 |
|
Alex Bilbie
|
58adefa7d0
|
Removed unnecessary parameter
|
2014-05-08 10:29:52 +01:00 |
|
Alex Bilbie
|
61f039366b
|
Throw correct exception when access token is invalid
|
2014-05-08 10:29:40 +01:00 |
|
Alex Bilbie
|
6a0596f40b
|
Fix #164
|
2014-05-07 17:30:07 +01:00 |
|
Alex Bilbie
|
49650d1ae9
|
Removed Mac token type for now
|
2014-05-07 17:21:32 +01:00 |
|
Alex Bilbie
|
aae99c2487
|
Use token type to determine access token in header
|
2014-05-07 17:21:24 +01:00 |
|
Alex Bilbie
|
0d293e7c30
|
Merge branch 'refs/heads/v4.0.0-WIP' into 4.0.0-156-token-types
|
2014-05-07 17:11:46 +01:00 |
|
Alex Bilbie
|
7516606fd3
|
Set default token type as bearer for Resource Server
|
2014-05-07 17:10:52 +01:00 |
|
Alex Bilbie
|
87fbcb19af
|
Use the correct variable
|
2014-05-07 17:09:45 +01:00 |
|
Alex Bilbie
|
6300cd5d72
|
Set the default token type as Bearer
|
2014-05-07 17:09:34 +01:00 |
|
Alex Bilbie
|
0b047fd8e4
|
Update token types
|
2014-05-07 17:09:19 +01:00 |
|
Luca Degasperi
|
07c04d15d7
|
updated calls to proper request methods
|
2014-05-06 14:30:25 +02:00 |
|
Luca Degasperi
|
95d068e818
|
Added a missing use statement
|
2014-05-06 13:52:50 +02:00 |
|
Alex Bilbie
|
c5ffd05eee
|
First commit of token types
|
2014-05-03 14:03:02 +01:00 |
|
Alex Bilbie
|
f7e68d6e10
|
Fixed auth code entity storage calls
|
2014-05-03 11:40:39 +01:00 |
|
Alex Bilbie
|
719b87a40c
|
Added missing methods to auth code storage interface
|
2014-05-03 11:39:18 +01:00 |
|
Alex Bilbie
|
19bd476395
|
Fix silly mistake
|
2014-05-03 11:13:36 +01:00 |
|
Alex Bilbie
|
b82551c97d
|
PHPCS fixes
|
2014-05-03 11:08:33 +01:00 |
|
Alex Bilbie
|
ed7f5370ca
|
More CS fixer changes
|
2014-05-03 10:53:57 +01:00 |
|
Alex Bilbie
|
97e7a00bca
|
CS fixer changes
|
2014-05-03 10:53:43 +01:00 |
|
Alex Bilbie
|
ffc25fb276
|
Renamed Grants
|
2014-05-02 17:24:55 +01:00 |
|
Alex Bilbie
|
97fd115530
|
Updated with new entity names
|
2014-05-02 17:21:53 +01:00 |
|
Alex Bilbie
|
228144a701
|
Inject server
|
2014-05-02 15:14:46 +01:00 |
|
Alex Bilbie
|
184fac507b
|
Bug fix for OAuthException
|
2014-05-02 15:14:36 +01:00 |
|
Alex Bilbie
|
82c10c32fd
|
Removed FQN
|
2014-05-02 15:14:25 +01:00 |
|
Alex Bilbie
|
782f43c73a
|
Updated entity class names
|
2014-05-02 15:14:12 +01:00 |
|
Alex Bilbie
|
bdd2bc322c
|
Renamed entities (added Entity to the end of class name)
|
2014-05-02 15:12:00 +01:00 |
|
Alex Bilbie
|
e5315dc016
|
Test fixes
|
2014-05-01 14:57:12 +01:00 |
|
Alex Bilbie
|
8b4b884a03
|
Pass the token instead of string
|
2014-05-01 14:47:01 +01:00 |
|
Alex Bilbie
|
f78caa24bb
|
Renamed method to be more obvious
|
2014-05-01 14:46:43 +01:00 |
|
Alex Bilbie
|
79b1e39798
|
Removed special case for cURL
|
2014-05-01 14:46:35 +01:00 |
|
Alex Bilbie
|
797ed66eda
|
Added getBySession
|
2014-05-01 14:46:22 +01:00 |
|
Alex Bilbie
|
16bdc36ccb
|
Accept token instead of strings
|
2014-05-01 14:45:38 +01:00 |
|
Alex Bilbie
|
b5f02d0739
|
Inject the access token object
|
2014-05-01 14:44:13 +01:00 |
|
Alex Bilbie
|
9f1f0cc3bc
|
Updates to exceptions
|
2014-05-01 14:32:54 +01:00 |
|
Alex Bilbie
|
6981ced972
|
Updated thrown exceptions
|
2014-04-25 11:24:48 +01:00 |
|
Alex Bilbie
|
019dfa8836
|
Updated thrown exceptions
|
2014-04-25 11:24:42 +01:00 |
|
Alex Bilbie
|
7f6ca35628
|
Updated exceptions
|
2014-04-25 11:24:33 +01:00 |
|
Alex Bilbie
|
e1a7f576e4
|
Moved exception code into new exception classes
|
2014-04-25 11:24:25 +01:00 |
|
Alex Bilbie
|
647de842ff
|
Updated exceptions
|
2014-04-25 10:01:01 +01:00 |
|
Alex Bilbie
|
d7ddfe6452
|
Updated docblock
|
2014-04-06 22:01:56 +01:00 |
|
Alex Bilbie
|
5893ba4e8e
|
Fixes #151
|
2014-04-06 21:08:35 +01:00 |
|
Alex Bilbie
|
b2c07aa68f
|
Renamed method make to generate
|
2014-04-06 21:08:20 +01:00 |
|
Alex Bilbie
|
29b0389a75
|
PSR-4 baby!
|
2014-04-06 19:17:56 +01:00 |
|
Alex Bilbie
|
2aa318cfd7
|
AuthCode grant
|
2014-04-06 19:14:46 +01:00 |
|
Alex Bilbie
|
82f7c7abaf
|
Removed unused method
|
2014-04-06 19:14:37 +01:00 |
|
Alex Bilbie
|
2d90540531
|
Spelling fix
|
2014-04-06 19:14:29 +01:00 |
|
Alex Bilbie
|
de681b1ebf
|
RefreshToken is already taken so use RT
|
2014-04-06 19:14:16 +01:00 |
|
Joseph Deray
|
b12a1d84df
|
added the ability to change the algorithm used to generate the token strings. added files missing in last commit
|
2014-03-11 12:41:21 -04:00 |
|
Joseph Deray
|
901aab9deb
|
added the ability to change the algorithm used to generate the token strings
|
2014-03-11 12:39:09 -04:00 |
|
Alex Bilbie
|
9ac56ad547
|
Updated @link
|
2014-03-09 20:05:38 +00:00 |
|
Alex Bilbie
|
c60b29d201
|
First commit of AuthCode grant and entity
|
2014-03-09 20:03:05 +00:00 |
|
Alex Bilbie
|
2a524efff5
|
Bug fix
|
2014-03-09 20:02:22 +00:00 |
|
Alex Bilbie
|
22794d49d1
|
Removed old implicit grant
|
2014-03-09 19:35:53 +00:00 |
|
Alex Bilbie
|
4e37d9bb61
|
Updated Refresh Token and Password grants
|
2014-03-09 19:35:23 +00:00 |
|
Alex Bilbie
|
af06f9f3ea
|
Updated copyright
|
2014-03-09 19:34:37 +00:00 |
|
Alex Bilbie
|
aef86227da
|
Updated copyright
|
2014-03-09 19:34:23 +00:00 |
|
Phil Sturgeon
|
f83a9a7fa4
|
Support Authorization header passed as ENV var
Some hosts (at this point I only know of Fortrabbit) require Authorization headers to be passed as an environment variable, which PHP will then shove into . See more: http://fortrabbit.com/docs/essentials/quirks-and-constraints\#authorization-header
|
2014-02-26 17:28:17 -05:00 |
|
Alex Bilbie
|
d10cc5040d
|
Inject server into storage
|
2014-02-24 16:50:19 +00:00 |
|
Alex Bilbie
|
468acbc369
|
Renamed Resource to ResourceServer
|
2014-02-24 14:43:26 +00:00 |
|
Alex Bilbie
|
013b1b53b4
|
Renamed Authorization to AuthorizationServer
|
2014-02-24 14:43:00 +00:00 |
|
Alex Bilbie
|
5254c9d225
|
Renamed Authorization to AuthorizationServer
|
2014-02-24 14:42:35 +00:00 |
|
Alex Bilbie
|
e4622b1f65
|
Check for headers only by default, also allow a token to be passed in
|
2014-01-17 17:17:13 +00:00 |
|
Alex Bilbie
|
c5f48782e6
|
$accessToken should be protected not public
|
2014-01-17 17:16:52 +00:00 |
|
Alex Bilbie
|
9de979a4ee
|
Little bug fix
|
2014-01-17 10:37:05 +00:00 |
|