Alex Bilbie
|
3341728eb2
|
Added implicit grant
|
2013-03-06 18:01:44 +00:00 |
|
Alex Bilbie
|
6b172d4c27
|
Made getGrantType public for use with implicit grant
|
2013-03-06 18:01:34 +00:00 |
|
Alex Bilbie
|
4962762c28
|
Change from static calls
|
2013-03-06 18:01:12 +00:00 |
|
Alex Bilbie
|
56b559894c
|
Spelling fix
|
2013-03-06 17:57:48 +00:00 |
|
Alex Bilbie
|
a9a68a5cc8
|
Added scope parameter association for clientcredentials and password scope
TODO: Unit tests
|
2013-03-06 17:18:48 +00:00 |
|
Alex Bilbie
|
542ca52d49
|
Set a default parameter for getParam
|
2013-03-06 17:18:13 +00:00 |
|
Alex Bilbie
|
7d0c075b36
|
It ain't static anymore Jim
|
2013-03-06 17:18:04 +00:00 |
|
Alex Bilbie
|
07c07ccb5e
|
Removed static functions, inject authserver instance into grants
|
2013-03-06 16:59:18 +00:00 |
|
Michael Gooden
|
f70c039275
|
Fix state parameter check typo
|
2013-03-04 17:31:59 +02:00 |
|
Alex Bilbie
|
34a7d14557
|
Added requireStateParam() method. Fixes #9
|
2013-03-04 13:15:12 +00:00 |
|
Alex Bilbie
|
f5b6b43bef
|
Added requireScopes() method
|
2013-03-04 13:10:00 +00:00 |
|
Michael Gooden
|
3be3794311
|
Normalise long function definition.
Signed-off-by: Michael Gooden <michael@bluepointweb.com>
|
2013-03-04 12:20:11 +00:00 |
|
Michael Gooden
|
710c65aa42
|
Fix typo in SessionInterface::validateAuthCode.
|
2013-03-04 12:20:11 +00:00 |
|
Alex Bilbie
|
ffac434bcc
|
Added missing state parameter
|
2013-02-22 15:38:47 +00:00 |
|
Alex Bilbie
|
822669fc0c
|
Update getScopes
|
2013-02-21 17:51:01 +00:00 |
|
Alex Bilbie
|
22dcef33da
|
Fixed SQL to get a session\'s scopes
|
2013-02-21 17:42:30 +00:00 |
|
Alex Bilbie
|
43d064733f
|
Changed all mentions of authentication to authorization server
|
2013-02-20 12:40:42 +00:00 |
|
Alex Bilbie
|
e3f13bf545
|
Use self::getParam
|
2013-02-19 00:40:30 +00:00 |
|
Alex Bilbie
|
4b63c20a58
|
Updated docblocks with correct SQL
|
2013-02-19 00:26:28 +00:00 |
|
Alex Bilbie
|
92d9435bba
|
Added method to get the exception type
|
2013-02-15 16:29:00 +00:00 |
|
Alex Bilbie
|
f818bdf40e
|
Updated docblocks
|
2013-02-13 19:59:08 +00:00 |
|
Alex Bilbie
|
246732153c
|
Updated grantTypes to use AuthServer::getParam()
|
2013-02-13 19:39:43 +00:00 |
|
Alex Bilbie
|
4506037bda
|
Docblock updates
|
2013-02-13 19:36:56 +00:00 |
|
Alex Bilbie
|
d99002ef2f
|
Renamed variable as $authParams is no longer used
|
2013-02-13 19:36:10 +00:00 |
|
Alex Bilbie
|
1e2d2b3d25
|
Added AuthServer::getParam() function to reduce repetitive code
|
2013-02-13 18:25:10 +00:00 |
|
Alex Bilbie
|
0f4546db47
|
Changed 'oauth_token' to 'access_token'
|
2013-02-13 17:10:44 +00:00 |
|
Alex Bilbie
|
1cfe10105a
|
Updated docblocks for the two main classes
|
2013-02-12 20:33:23 +00:00 |
|
Alex Bilbie
|
e771099568
|
Removed unnecessary functions
|
2013-02-12 17:22:15 +00:00 |
|
Alex Bilbie
|
61d1685e84
|
Minor fixes to password grant
|
2013-02-12 16:45:33 +00:00 |
|
Alex Bilbie
|
d2267dbd24
|
Added Password grant
|
2013-02-12 16:22:14 +00:00 |
|
Alex Bilbie
|
87186d73b7
|
Removed old client code which can be now be found at lncd/oauth2-client
|
2013-02-12 16:01:02 +00:00 |
|
Alex Bilbie
|
e76111c2b7
|
Fixed silliness with access token verification
|
2013-02-08 11:45:51 +00:00 |
|
Alex Bilbie
|
60b2caf41d
|
Various fixes and tweaks
|
2013-02-08 11:40:33 +00:00 |
|
Alex Bilbie
|
89f3c35466
|
Authorization header fixes
|
2013-02-07 16:16:09 +00:00 |
|
Alex Bilbie
|
55d68bd105
|
Import namespace for util\request
|
2013-02-07 14:54:56 +00:00 |
|
Alex Bilbie
|
562c257596
|
Various bug fixes
|
2013-02-05 16:20:45 +00:00 |
|
Alex Bilbie
|
322eb15bb5
|
Revert "Removed unnecessary code"
This reverts commit c89a2346a8 .
|
2013-02-05 15:57:24 +00:00 |
|
Alex Bilbie
|
6b4e51b3a3
|
Removed unnecessary interfaces
|
2013-02-05 15:56:03 +00:00 |
|
Alex Bilbie
|
e903cbee68
|
Update request class namespace
|
2013-02-05 15:55:38 +00:00 |
|
Alex Bilbie
|
920fd9344f
|
Moved request class to util folder
|
2013-02-05 15:55:04 +00:00 |
|
Alex Bilbie
|
7a646d3a84
|
Renamed client get function
|
2013-02-05 14:47:54 +00:00 |
|
Alex Bilbie
|
66bea97e8c
|
Bug fixes based on previous code changes
|
2013-02-05 10:07:36 +00:00 |
|
Alex Bilbie
|
4a50af333d
|
Added code coverage blocks
|
2013-02-04 19:46:06 +00:00 |
|
Alex Bilbie
|
c89a2346a8
|
Removed unnecessary code
|
2013-02-04 19:45:58 +00:00 |
|
Alex Bilbie
|
22f793a16f
|
Fixed getClient call
|
2013-02-04 19:45:47 +00:00 |
|
Alex Bilbie
|
6edd486b4c
|
Added code coverage ignore blocks to getRequest method
|
2013-02-04 19:45:34 +00:00 |
|
Alex Bilbie
|
d5ae471d94
|
Throw root exception
|
2013-02-04 18:58:26 +00:00 |
|
Alex Bilbie
|
9a265f7956
|
Fixed bad ternary statement. Added missing semicolon
|
2013-02-04 18:58:17 +00:00 |
|
Alex Bilbie
|
04b8394009
|
Updated method calls to reflect naming changes
|
2013-02-04 18:44:19 +00:00 |
|
Alex Bilbie
|
6ae4db460e
|
$request parameter is static
|
2013-02-04 18:31:13 +00:00 |
|
Alex Bilbie
|
768dfb369c
|
Renamed getCurrentGrantType to getGrantType
|
2013-02-04 18:30:56 +00:00 |
|
Alex Bilbie
|
0d173d4c35
|
Renamed methods to prevent ORM conflict
|
2013-02-04 17:10:30 +00:00 |
|
Alex Bilbie
|
4b8bc76622
|
Removed properties from Interface
|
2013-02-04 15:32:33 +00:00 |
|
Alex Bilbie
|
1a1bfd9348
|
Fix $expiresIn call as static
|
2013-02-04 15:32:21 +00:00 |
|
Alex Bilbie
|
91bf8cc241
|
Removed old Authentication folder
|
2013-02-04 14:42:14 +00:00 |
|
Alex Bilbie
|
3c7fe00130
|
Renamed some session methods to avoid conflicts with ORM methods
|
2013-02-04 14:41:40 +00:00 |
|
Alex Bilbie
|
5f8ca89772
|
Added docblocks to the grant interface
|
2013-02-04 13:59:34 +00:00 |
|
Alex Bilbie
|
f855b572e8
|
First commit of new refresh token grant
|
2013-02-01 16:50:59 +00:00 |
|
Alex Bilbie
|
5e365bb974
|
Function name fix
|
2013-02-01 16:02:38 +00:00 |
|
Alex Bilbie
|
85c42db355
|
Variable name fix
|
2013-02-01 16:02:04 +00:00 |
|
Alex Bilbie
|
a81c486e0e
|
Spelling fix
|
2013-02-01 16:00:00 +00:00 |
|
Alex Bilbie
|
e8d43f2087
|
Anal restyle
|
2013-02-01 15:59:50 +00:00 |
|
Alex Bilbie
|
5abb84eda0
|
Validate all client credentials
|
2013-02-01 15:59:43 +00:00 |
|
Alex Bilbie
|
9fd7ccc137
|
Added ClientCredentials grant
|
2013-02-01 15:51:51 +00:00 |
|
Alex Bilbie
|
a3a617171a
|
$grantTypes static access
|
2013-02-01 15:28:40 +00:00 |
|
Alex Bilbie
|
47731ce901
|
$expiresIn now static
|
2013-02-01 15:28:25 +00:00 |
|
Alex Bilbie
|
3aa8465640
|
Made $grantTypes static to fix ref bug
|
2013-02-01 15:23:04 +00:00 |
|
Alex Bilbie
|
2a8688b54e
|
Update getRequest calls to static requests
|
2013-02-01 15:09:15 +00:00 |
|
Alex Bilbie
|
aec9aa908c
|
Made getRequest static
|
2013-02-01 15:07:47 +00:00 |
|
Alex Bilbie
|
8de2cdb1d9
|
< PHP5.4 array syntax
|
2013-02-01 15:02:36 +00:00 |
|
Alex Bilbie
|
2c1dedfe8a
|
Updated grantTypeInterface
|
2013-02-01 14:56:36 +00:00 |
|
Alex Bilbie
|
d732778f65
|
Finished AuthCode grant
|
2013-02-01 14:41:52 +00:00 |
|
Alex Bilbie
|
6eb5db0239
|
Lots of bug fixes. Some methods and variables made static so they can be accessed by grant classes.
|
2013-02-01 14:41:10 +00:00 |
|
Alex Bilbie
|
7a851084c6
|
Initial commit of AuthCode grant type
|
2013-02-01 10:50:39 +00:00 |
|
Alex Bilbie
|
9b6a92c506
|
Updated namespace use for Util\SecureKey
|
2013-01-29 16:53:39 +00:00 |
|
Alex Bilbie
|
781bf985c3
|
Renamed checkClientAuthoriseParams method to checkAuthoriseParams
|
2013-01-29 16:25:14 +00:00 |
|
Alex Bilbie
|
87a142cc30
|
Updated getCurrentGrantType method
|
2013-01-29 16:24:48 +00:00 |
|
Alex Bilbie
|
4fa37bb356
|
Updated issueAccessToken method
|
2013-01-29 16:24:28 +00:00 |
|
Alex Bilbie
|
514aabb838
|
Updated newAuthoriseRequest method
|
2013-01-29 16:23:41 +00:00 |
|
Alex Bilbie
|
3cb53448c5
|
Anal style fix
|
2013-01-29 16:21:53 +00:00 |
|
Alex Bilbie
|
8ae0dbcf46
|
Default to 40 characters (as that is what the DB table columns are set to)
|
2013-01-29 16:21:39 +00:00 |
|
Alex Bilbie
|
ffcad85d95
|
Renamed functions, changed some doc terms
|
2013-01-29 16:21:21 +00:00 |
|
Alex Bilbie
|
14b680f6be
|
Moved GrantTypeInterface
|
2013-01-29 16:18:45 +00:00 |
|
Alex Bilbie
|
74f48d28a4
|
Added ClientException
|
2013-01-29 16:18:23 +00:00 |
|
Alex Bilbie
|
31c3b495bf
|
Re-added checkClientAuthoriseParams() function
|
2013-01-29 14:56:17 +00:00 |
|
Alex Bilbie
|
a8b6389092
|
Updated SessionInterface
|
2013-01-29 14:55:50 +00:00 |
|
Alex Bilbie
|
5e91b95cb3
|
Updated ScopeInterface with get method
|
2013-01-29 14:25:49 +00:00 |
|
Alex Bilbie
|
1ed4c27420
|
Update ClientInterface with get() method
|
2013-01-29 14:23:28 +00:00 |
|
Alex Bilbie
|
57f825b0a8
|
Added exception codes and messages
|
2013-01-29 14:19:23 +00:00 |
|
Alex Bilbie
|
846a008c76
|
Explanation of the scope delimiter parameter
|
2013-01-29 14:18:13 +00:00 |
|
Alex Bilbie
|
a189156f26
|
Response types are now generated from grants that are injected in
|
2013-01-29 14:17:56 +00:00 |
|
Alex Bilbie
|
d63c0ea262
|
Added model variable storage
|
2013-01-29 14:16:47 +00:00 |
|
Alex Bilbie
|
f74a35074a
|
Added getResponseType parameter
|
2013-01-29 14:15:05 +00:00 |
|
Daniel Horrigan
|
945d60bd5d
|
Renaming Server and Resource to AuthServer and ResourceServer to be less confusing.
|
2013-01-22 11:33:09 -05:00 |
|
Daniel Horrigan
|
892ae3a0d3
|
Started adding some Server methods, adding some Util classes and adding a way to get the token from the Resource
|
2013-01-22 11:25:51 -05:00 |
|
Daniel Horrigan
|
2727ba0078
|
Adding a few Getters to the Resource, moving Exceptions and adding some new ones.
|
2013-01-17 15:19:01 -05:00 |
|
Daniel Horrigan
|
c12472857b
|
Changed Case of Oauth2 namespace to OAuth2 namespace
|
2013-01-08 16:35:29 -05:00 |
|
Daniel Horrigan
|
385111a1f2
|
Merge branch 'cleanup' of github.com:dandoescode/OAuth2 into feature/reorg
Conflicts:
src/OAuth2/Authentication/Server.php
src/Oauth2/Resource/Server.php
|
2013-01-08 16:26:17 -05:00 |
|
Daniel Horrigan
|
89e89a73dc
|
Changing 'user_credentials' to password
|
2013-01-07 10:31:28 -05:00 |
|
Daniel Horrigan
|
2fecadd2a6
|
Fixing Resource bugs and moving the Request dep to a setter.
|
2013-01-04 17:21:24 -05:00 |
|