Alex Bilbie
282bb20cc8
Fix docblocks + method name
2014-12-27 23:00:11 +00:00
Dave Walker
851c7c0eb1
Per the spec:
...
The authorization server MAY issue a new refresh token, in which case
the client MUST discard the old refresh token and replace it with the
new refresh token. The authorization server MAY revoke the old
refresh token after issuing a new refresh token to the client. If a
new refresh token is issued, the refresh token scope MUST be
identical to that of the refresh token included by the client in the
request.
This commit allows users to specifiy the time before the Refresh Token
expire time to issue a new Refresh Token.
alter method names, naming convention(?)
2014-12-21 18:51:52 -05:00
Regan
d32bfaa757
Prevent duplicate session in auth code grant
...
The session already exists in the database, so we don't need to save it again. Doing so results in the session used for the auth code hanging around in the database with nothing associated to it, while the access token is associated to a new session caused by the `save()` method creating a duplicate. Fixes #266 .
2014-12-15 15:09:36 +13:00
Graham Campbell
a1726903b5
CS fixes
2014-12-10 13:10:35 +00:00
Alex Bilbie
f8b61b47b9
Ensure Refresh Token Entity hasn't expired
2014-12-03 23:22:14 +00:00
Alex Bilbie
b8331d12e4
Syntax improvements
2014-12-03 23:21:54 +00:00
Alex Bilbie
e1c0ff2685
Code coverage improvements in grant classes
2014-11-23 23:32:50 +00:00
Alex Bilbie
cfada388db
Declared methods from AbstractGrant on GrantTypeInterface as per #255
2014-11-21 00:06:01 +00:00
Alex Bilbie
bed6c3287e
Spelling fixes
2014-11-20 23:53:14 +00:00
Alex Bilbie
f83e5a8731
Learnt how to spell delimiter
2014-11-20 23:52:29 +00:00
Brooke Bryan
6a1f927a6c
Check refreshToken isset before attempting to call methods on it
2014-11-13 12:20:59 +00:00
Brooke Bryan
b2c0933ee6
Docbloc improvements
2014-11-12 18:10:29 +00:00
Graham Campbell
4c1cd04a24
CS fixes
2014-11-08 18:26:12 +00:00
Alex Bilbie
6b29b7450e
If the client should redirect during AuthCodeGrant authorisation then provide a redirect uri
2014-11-08 17:03:15 +00:00
Alex Bilbie
b9debaab26
Fix #231
2014-11-08 16:44:39 +00:00
Alex Bilbie
3815355489
Removed generic getStorage method and replaced with distinct calls to getters
2014-11-07 02:20:06 +00:00
Alex Bilbie
9bb7af6f83
More docblock fixes
2014-11-07 01:48:23 +00:00
Alex Bilbie
d16b1b72ba
Docblock fix
2014-11-07 01:36:17 +00:00
Alex Bilbie
e37289231d
Removed dead code
2014-11-07 01:36:12 +00:00
Alex Bilbie
17dfc897b4
Docfix
2014-11-07 01:30:54 +00:00
Alex Bilbie
7586e62da1
Dead code
2014-11-07 01:30:50 +00:00
Alex Bilbie
d23dc4d247
Docblock fixes
2014-11-07 01:25:13 +00:00
Alex Bilbie
293bc52972
Code declared in interface, not needed
2014-11-07 01:25:04 +00:00
Leevi Graham
b60693c5d6
Associate the $client with $session.
2014-11-07 07:50:22 +11:00
Alex Bilbie
136edf16c5
Fix #213
2014-09-30 23:55:21 +01:00
Alex Bilbie
536ef3244d
Inject the session into the token type
2014-09-30 22:28:49 +01:00
Alex Bilbie
a3f5d20592
Changed method names to be clearer that we're setting params
2014-09-30 22:28:38 +01:00
Alex Bilbie
b68a5c2abb
Added authentication failure events
2014-09-30 22:16:34 +01:00
pulkit
1ff3d1adda
support grant specific access token ttl
2014-09-11 13:58:01 +01:00
Alex Bilbie
7d8989a8cd
Fix #202
2014-08-18 16:47:36 +01:00
Alex Bilbie
522c7478c7
Fix #169
2014-08-06 09:53:47 +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
54e6bbd4a6
expires
isn't part of the spec
2014-07-27 17:15:55 +01:00
Alex Bilbie
1e78f62823
Lotsa bug fixes and updates
2014-07-11 18:27:03 +01: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
5e4cd98706
Use US spelling
2014-05-23 16:26:29 +01:00
Alex Bilbie
6a0596f40b
Fix #164
2014-05-07 17:30:07 +01:00
Alex Bilbie
87fbcb19af
Use the correct variable
2014-05-07 17:09:45 +01:00
Alex Bilbie
c5ffd05eee
First commit of token types
2014-05-03 14:03:02 +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
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
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