Commit Graph

21 Commits

Author SHA1 Message Date
Alex Bilbie b727be55a2 Merge branch 'master' of https://github.com/Symplicity/oauth2-server into Symplicity-master 2014-12-27 22:57:08 +00:00
Alex Bilbie 707c85b0d6 Fixes and tests 2014-12-27 22:26:31 +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
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 f83e5a8731 Learnt how to spell delimiter 2014-11-20 23:52:29 +00:00
Graham Campbell 4c1cd04a24 CS fixes 2014-11-08 18:26:12 +00:00
Alex Bilbie 583c21e7db Updated unit tests 2014-11-08 17:16:17 +00:00
Alex Bilbie b9debaab26 Fix #231 2014-11-08 16:44:39 +00:00
Alex Bilbie 856051bfb3 Fix #232 2014-11-08 16:20:13 +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 db7c42cc91 Fixed broken tests 2014-11-07 00:55:38 +00:00
Alex Bilbie fbf1535db1 Renamed Adapter to AbstractStorage because it isn't actually an adapter 2014-11-07 00:45:25 +00:00
Alex Bilbie 136edf16c5 Fix #213 2014-09-30 23:55:21 +01:00
pulkit 1ff3d1adda support grant specific access token ttl 2014-09-11 13:58:01 +01:00
Alex Bilbie 522c7478c7 Fix #169 2014-08-06 09:53:47 +01:00
Alex Bilbie 7525fc0884 Bug fixes 2014-08-06 08:43:08 +01:00
Alex Bilbie 07a42f6f43 Added setAccessTokenId method 2014-08-06 08:42:42 +01:00
Alex Bilbie 54e6bbd4a6 expires isn't part of the spec 2014-07-27 17:15:55 +01:00
Alex Bilbie 47a5c1ba08 100% unit test coverage 2014-07-22 11:45:19 +01:00
Alex Bilbie f40ada9ac7 Moved unit tests 2014-07-22 09:23:00 +01:00