Julián Gutiérrez
|
8d8dbaea0c
|
normalize validatescopes
|
2016-01-17 14:35:43 +01:00 |
|
Alex Bilbie
|
03391e9630
|
Removed old access denied exception
|
2016-01-17 12:58:15 +00:00 |
|
Alex Bilbie
|
7242a8db31
|
Added access denied exception
|
2016-01-17 12:58:00 +00:00 |
|
Alex Bilbie
|
f44b618531
|
Docblock tidy
|
2016-01-17 12:57:50 +00:00 |
|
Alex Bilbie
|
9e4fd82763
|
Rewrote RefreshTokenGrant to understand encrypted tokens
|
2016-01-17 12:56:52 +00:00 |
|
Alex Bilbie
|
0744d8e926
|
Tidy up
|
2016-01-17 12:43:20 +00:00 |
|
Julián Gutiérrez
|
44ff8692dc
|
abstract common grants tasks
|
2016-01-17 00:41:55 +01:00 |
|
Alex Bilbie
|
dce1620f60
|
Removed unused imports
|
2016-01-15 18:37:46 +00:00 |
|
Alex Bilbie
|
bcd84320da
|
Updated docblocks
|
2016-01-15 18:37:26 +00:00 |
|
Alex Bilbie
|
a40374e6ec
|
Merge branch 'V5-WIP' of github.com:thephpleague/oauth2-server into V5-WIP
|
2016-01-15 18:36:38 +00:00 |
|
Alex Bilbie
|
748ae15376
|
Updated docblock
|
2016-01-15 18:36:34 +00:00 |
|
Alex Bilbie
|
7811721d28
|
Merge pull request #421 from juliangut/deferred_creation
V5 - deferred default objects creation
|
2016-01-15 18:35:49 +00:00 |
|
Alex Bilbie
|
8f724bb720
|
Fix immutability issues
|
2016-01-15 18:32:53 +00:00 |
|
Julián Gutiérrez
|
65d981ad32
|
allow middleware use
|
2016-01-15 14:02:47 +01:00 |
|
Julián Gutiérrez
|
3de1b5917a
|
deferred default objects creation
|
2016-01-15 12:41:48 +01:00 |
|
Alex Bilbie
|
0fbe447862
|
Removed old exceptions
|
2016-01-15 00:17:13 +00:00 |
|
Alex Bilbie
|
84a9802a67
|
Removed ServerAwareTrait
|
2016-01-15 00:14:41 +00:00 |
|
Alex Bilbie
|
f7b3c018c5
|
Removed old authorization server
|
2016-01-15 00:05:59 +00:00 |
|
Alex Bilbie
|
a88c30cb53
|
Added invalid refresh token exception
|
2016-01-14 23:47:49 +00:00 |
|
Alex Bilbie
|
5e6f0fc6a3
|
Code tidy
|
2016-01-14 23:47:41 +00:00 |
|
Alex Bilbie
|
b57b497cb7
|
Revoke both refresh token and access token
|
2016-01-14 23:47:19 +00:00 |
|
Alex Bilbie
|
0b061e3086
|
Refresh token is encrypted payload now instead of JWT
|
2016-01-14 23:47:06 +00:00 |
|
Alex Bilbie
|
304ea2baf4
|
Encrypt refresh token parameters instead of using JWT
|
2016-01-14 23:46:24 +00:00 |
|
Alex Bilbie
|
56060b2c16
|
Code tidy
|
2016-01-14 23:45:36 +00:00 |
|
Alex Bilbie
|
633746b02e
|
Added KeyCrypt class
|
2016-01-14 23:44:39 +00:00 |
|
Alex Bilbie
|
936b8f93ec
|
Addititonal refresh token validation
|
2016-01-13 00:38:23 +00:00 |
|
Alex Bilbie
|
c1d15aa15c
|
Uset sub instead of uid
|
2016-01-13 00:38:08 +00:00 |
|
Alex Bilbie
|
79791e5848
|
Code tidy
|
2016-01-13 00:13:34 +00:00 |
|
Alex Bilbie
|
0efa7cd7ea
|
Set the uid on the refresh token
|
2016-01-13 00:13:16 +00:00 |
|
Alex Bilbie
|
eef5cf39d4
|
Fixes to refresh grant
|
2016-01-13 00:12:10 +00:00 |
|
Alex Bilbie
|
6fb3fb5110
|
Updated refresh token grant
|
2016-01-12 23:53:03 +00:00 |
|
Alex Bilbie
|
a2bbb17483
|
Updated repository method names
|
2016-01-12 23:52:08 +00:00 |
|
Alex Bilbie
|
3135f1796e
|
Generate a refresh token in password grant
|
2016-01-12 23:05:19 +00:00 |
|
Alex Bilbie
|
d565665ccb
|
Code tidy
|
2016-01-12 23:05:07 +00:00 |
|
Alex Bilbie
|
13a1ea6db8
|
Updated token interface to drop owner concept for simple user identifier
|
2016-01-12 23:04:33 +00:00 |
|
Alex Bilbie
|
6358be90c2
|
Token is now linked to a user identifier instead of owner concept
|
2016-01-12 23:04:03 +00:00 |
|
Alex Bilbie
|
de89a6bc89
|
Code tidy
|
2016-01-12 23:03:38 +00:00 |
|
Alex Bilbie
|
e03ad0d52f
|
Server constructor expects path to private key
|
2016-01-12 23:03:24 +00:00 |
|
Alex Bilbie
|
2a20de991b
|
Docblock update
|
2016-01-12 23:02:54 +00:00 |
|
Alex Bilbie
|
b8732a2f83
|
BearerTokenResponse now outputs JWTs. Fixes #209
|
2016-01-12 23:02:45 +00:00 |
|
Alex Bilbie
|
1bdad3ad14
|
Updated AbstractResponseType with interface methods
|
2016-01-12 23:01:55 +00:00 |
|
Alex Bilbie
|
fd47712060
|
Removed unused methods
|
2016-01-12 23:01:19 +00:00 |
|
Alex Bilbie
|
6339524c86
|
Updated RefreshToken methods
|
2016-01-12 23:00:05 +00:00 |
|
Alex Bilbie
|
5f9feda80c
|
ScopeEntity is JsonSerializable
|
2016-01-12 22:59:33 +00:00 |
|
Alex Bilbie
|
9958e1bf80
|
Added serverError exception
|
2016-01-12 22:59:14 +00:00 |
|
Alex Bilbie
|
758471ec16
|
Fixed docblock
|
2016-01-12 22:59:00 +00:00 |
|
Alex Bilbie
|
a9313e76d4
|
Removed old JsonWebTokenType response as all tokens are JWTs now
|
2016-01-12 22:56:10 +00:00 |
|
Alex Bilbie
|
e7e4892408
|
Fixed method parameter name
|
2015-11-16 12:58:38 +00:00 |
|
Alex Bilbie
|
46648f3e80
|
Updated password grant
|
2015-11-16 12:58:11 +00:00 |
|
Alex Bilbie
|
6f2e2a0071
|
Updated exceptions
|
2015-11-16 12:57:59 +00:00 |
|
Alex Bilbie
|
32b451aa21
|
Updates
|
2015-11-13 17:41:05 +00:00 |
|
Alex Bilbie
|
da8efa20cd
|
Updated repository method names to be more explicit
|
2015-11-13 17:39:07 +00:00 |
|
Alex Bilbie
|
03e4ac7ea6
|
Removed service providers
|
2015-11-13 17:38:48 +00:00 |
|
Alex Bilbie
|
1442842da9
|
TokenType -> ResponseType
|
2015-11-13 17:38:23 +00:00 |
|
Alex Bilbie
|
b479cb7912
|
New OAuthServerException class
|
2015-11-13 17:37:37 +00:00 |
|
Alex Bilbie
|
41c7a6e731
|
Removed old exceptions
|
2015-11-13 17:37:28 +00:00 |
|
Alex Bilbie
|
82413513e8
|
Checkin
|
2015-10-14 09:51:53 +01:00 |
|
Alex Bilbie
|
2e3c6b4f3a
|
Refactored constructor to set defaults, added new setter methods for default token TTL and default token type
|
2015-04-06 08:32:44 +01:00 |
|
Alex Bilbie
|
8e9b12fefd
|
Code readability
|
2015-04-06 08:23:35 +01:00 |
|
Alex Bilbie
|
95a2308ff6
|
Added @todo
|
2015-04-06 08:23:24 +01:00 |
|
Alex Bilbie
|
9985f3eee2
|
Fixed docblock
|
2015-04-06 08:23:18 +01:00 |
|
Alex Bilbie
|
39df4ff9b1
|
Clarified docblock
|
2015-04-06 08:21:25 +01:00 |
|
Alex Bilbie
|
90d18c553d
|
Broke expiration DateTime out into seperate variable for readability
|
2015-04-06 08:13:41 +01:00 |
|
Alex Bilbie
|
385b03db6f
|
Import DateTime instead of using root namespace
|
2015-04-06 08:08:18 +01:00 |
|
Alex Bilbie
|
a15995c126
|
First commit of updated auth code grant
|
2015-04-05 21:57:29 +01:00 |
|
Alex Bilbie
|
f4cfd37745
|
Added isExpired method
|
2015-04-05 21:57:17 +01:00 |
|
Alex Bilbie
|
a0d5d5817b
|
Updated AuthCodeEntity
|
2015-04-05 21:57:04 +01:00 |
|
Alex Bilbie
|
d468cbf600
|
Updated AuthCodeRepositoryInterface
|
2015-04-05 21:56:42 +01:00 |
|
Alex Bilbie
|
be14b3a2df
|
Updated namespace
|
2015-04-05 21:14:22 +01:00 |
|
Alex Bilbie
|
1f1f0d8f15
|
Added PasswordGrantProvider to container
|
2015-04-05 21:14:06 +01:00 |
|
Alex Bilbie
|
8fcf93c489
|
Removed unused method
|
2015-04-05 21:13:53 +01:00 |
|
Alex Bilbie
|
bdd71743cd
|
Added knowledge of UserRepository
|
2015-04-05 21:13:45 +01:00 |
|
Alex Bilbie
|
77b5282b46
|
Namespace updates
|
2015-04-05 21:13:15 +01:00 |
|
Alex Bilbie
|
e88d802918
|
Added UserEntityInterface
|
2015-04-05 21:13:04 +01:00 |
|
Alex Bilbie
|
61ab070692
|
Renamed ClientCredentialsGrantServerProvider to ClientCredentialsGrantProvider
|
2015-04-05 21:12:55 +01:00 |
|
Alex Bilbie
|
d3ed454881
|
Added PasswordGrantProvider
|
2015-04-05 21:12:26 +01:00 |
|
Alex Bilbie
|
b5bbf8332f
|
Added JsonWebTokenType
|
2015-04-05 21:12:05 +01:00 |
|
Alex Bilbie
|
110d5ce76f
|
Respond with json content-type header
|
2015-04-05 21:11:51 +01:00 |
|
Alex Bilbie
|
eabcf82268
|
Added UserRepositoryInterface
|
2015-04-05 21:10:50 +01:00 |
|
Alex Bilbie
|
6a78d53d03
|
Updated grants
|
2015-04-05 21:10:41 +01:00 |
|
Alex Bilbie
|
b831d19f8d
|
Renamed interface
|
2015-04-05 21:10:18 +01:00 |
|
Alex Bilbie
|
721e52c5d9
|
Renamed response types to token types
|
2015-04-05 21:10:06 +01:00 |
|
Alex Bilbie
|
15cef6ba16
|
Code tidy
|
2015-04-05 18:16:26 +01:00 |
|
Alex Bilbie
|
72b741d7c9
|
Added generateHttpResponse method to exception
|
2015-04-05 18:16:21 +01:00 |
|
Alex Bilbie
|
26c1abdd3c
|
Remove client secret propety on entity
|
2015-04-05 17:13:55 +01:00 |
|
Alex Bilbie
|
d63efc8dbf
|
Updated grant type interface
|
2015-04-05 17:05:57 +01:00 |
|
Alex Bilbie
|
1e39f1d84a
|
Updated abstract server
|
2015-04-05 17:03:13 +01:00 |
|
Alex Bilbie
|
0b66fd1948
|
First commit of new server class
|
2015-04-05 17:03:06 +01:00 |
|
Alex Bilbie
|
f1da0d2943
|
Added ClientCredentialsGrantServerProvider
|
2015-04-05 17:01:41 +01:00 |
|
Alex Bilbie
|
f964fd2962
|
Updated abstract grant and client credentials grant
|
2015-04-05 17:01:19 +01:00 |
|
Alex Bilbie
|
36a1a430b5
|
Updated response types
|
2015-04-05 17:01:00 +01:00 |
|
Alex Bilbie
|
3721ecb40a
|
Updated repository interfaces
|
2015-04-05 17:00:43 +01:00 |
|
Alex Bilbie
|
f357602090
|
Removed old traits
|
2015-04-05 14:03:34 +01:00 |
|
Alex Bilbie
|
a48630c837
|
New entities, traits and interfaces
|
2015-04-05 14:03:25 +01:00 |
|
Alex Bilbie
|
171be1c422
|
Updated .gitignore and .gitattributes
|
2015-04-05 13:59:38 +01:00 |
|
Alex Bilbie
|
a73322fb43
|
Renamed namespace Util > Utils
|
2015-04-04 15:42:12 +01:00 |
|
Alex Bilbie
|
027971776b
|
Namespace renamed TokenType > TokenTypes
|
2015-04-04 15:41:53 +01:00 |
|
Alex Bilbie
|
5d7eeb0512
|
Spelling fix
|
2015-03-01 21:29:52 +00:00 |
|
Alex Bilbie
|
742b51c2cd
|
Removed domain events
|
2015-03-01 21:29:47 +00:00 |
|
Alex Bilbie
|
cc7596f3b3
|
Renamed storage to repository
|
2015-02-22 19:44:26 +00:00 |
|