Commit Graph

133 Commits

Author SHA1 Message Date
Lukáš Unger 3904767873 Fix scope loading in grants 2016-04-17 13:50:56 +02:00
Alex Bilbie 2328f59601 Applied fixes from StyleCI 2016-04-10 12:16:40 -04:00
Bobselp eb7526ae97 finalize scopes for AuthCodeGrant 2016-04-10 18:07:18 +02:00
Bobselp 03e8eb6157 revoke an used auth code 2016-04-10 18:05:16 +02:00
Alex Bilbie 92a483b3bd Improved tests 2016-04-10 16:14:01 +01:00
Alex Bilbie 5969082963 Fix tests and improve code coverate 2016-04-10 15:58:01 +01:00
Alex Bilbie 096a4a2883 Remove unused params 2016-04-10 14:22:32 +01:00
Alex Bilbie a0c4900ee7 Client is not required here because of finalizeScopes method 2016-04-10 13:53:16 +01:00
Alex Bilbie 5d3516c7b4 Applied fixes from StyleCI 2016-04-10 06:48:46 -04:00
Alex Bilbie 4bc835c007 Updated AuthCodeGrant with new methods to validate and complete an authorization request 2016-04-10 11:48:21 +01:00
Alex Bilbie b7064befe4 Checkin 2016-04-10 10:07:08 +01:00
Alex Bilbie c6faa228fe Updated references to interfaces 2016-04-09 15:25:45 +01:00
Julián Gutiérrez e513b42117 remove access token repository from response types 2016-03-28 12:10:51 +02:00
Alex Bilbie 630a92b45f Applied fixes from StyleCI 2016-03-24 06:07:20 -04:00
Alex Bilbie 6383a58755 Updated scope validation 2016-03-24 10:04:15 +00:00
Alex Bilbie b5b5d9f347 Added finalizeScopes method to ScopeRepositoryInterface 2016-03-23 18:36:23 +00:00
Alex Bilbie a698a4da7e Added RequestEvent 2016-03-23 12:54:17 +00:00
Alex Bilbie 878afeb9f9 ClientRepository implementations are now responsible for dealing with client secret 2016-03-22 16:29:04 +00:00
Alex Bilbie 09770dc537 Inject client into getUserEntityByUserCredentials method 2016-03-22 15:11:20 +00:00
Alex Bilbie 400eae153b Added grant and scopes to UserRepository getUserEntityByUserCredentials method 2016-03-22 14:18:02 +00:00
Julián Gutiérrez 4b775fe241 include CryptTrait tests, allow Server::respondToRequest trhow exceptions and fix ResposeType tests 2016-03-18 00:25:32 +01:00
Julián Gutiérrez 8196f5c832 code against interface 2016-03-17 21:33:04 +01:00
Alex Bilbie 51a1a75d37 Applied fixes from StyleCI 2016-03-17 10:37:48 -04:00
Alex Bilbie 251190d828 Fix #468 and #473 2016-03-17 14:37:21 +00:00
Julián Gutiérrez ee91072455 template renderer holds template related information 2016-03-16 12:32:21 +01:00
Julián Gutiérrez 91c8daeb99 normalize repositories visibility 2016-03-15 20:54:59 +01:00
Julián Gutiérrez 592f60de70 allways extract scopes from repository 2016-03-15 01:10:47 +01:00
Julián Gutiérrez ced63e2051 allow scopes extraction on GET requests for auth_code and implicit grants 2016-03-14 00:12:14 +01:00
Alex Bilbie 2b2d4a3df7 Merge pull request #444 from juliangut/secure_body_params_access
V5 - Secure access to body params
2016-03-10 17:47:20 +00:00
Julián Gutiérrez 1218cede79 allow different template engines 2016-03-09 12:32:01 +01:00
Julián Gutiérrez 1bdeb71efb make StyleCI happy 2016-03-08 21:59:10 +01:00
Julián Gutiérrez 1632b80631 Merge branch 'V5-WIP' into secure_body_params_access 2016-03-08 21:57:43 +01:00
Alex Bilbie e08669d50c Doc improvements 2016-02-22 07:58:12 +00:00
Alex Bilbie d02437dd73 Improved testing 2016-02-21 18:13:39 +00:00
Alex Bilbie 2488cbd55d Bug fixes 2016-02-21 17:08:49 +00:00
Alex Bilbie 7f539f8736 Removed unused exception parameters 2016-02-21 16:40:01 +00:00
Alex Bilbie d0878300d0 Bug fix for AuthCodeGrant 2016-02-21 14:32:16 +00:00
Alex Bilbie a2460886f6 Applied fixes from StyleCI 2016-02-19 18:09:39 -05:00
Alex Bilbie 064eb85f4e AbstractGrant now handles persisting tokens 2016-02-18 12:07:23 +00:00
Alex Bilbie 704e114568 Updated AuthCodeGrant 2016-02-18 10:49:39 +00:00
Julián Gutiérrez 1f6bb40952 correcting param access mistake 2016-02-12 18:45:47 +01:00
Julián Gutiérrez 2f914a0aa3 secure params access on authcode grant 2016-02-12 18:32:09 +01:00
Alex Bilbie d95958bae4 Small fixes 2016-02-12 14:28:24 +00:00
Alex Bilbie 85b9412813 Multiple fixes 2016-02-12 14:18:52 +00:00
Alex Bilbie 0115c41eea Numerous bug fixes 2016-02-12 13:32:58 +00:00
Alex Bilbie 5e326d9e45 First commit of respondToAccessTokenRequest 2016-02-12 13:01:25 +00:00
Alex Bilbie 2025749fa4 Updated respondToAuthorizationRequest to use Plates templates instead of custom ResponseType 2016-02-12 11:55:41 +00:00
Alex Bilbie fccb06ed67 First commit of updated AuthCodeGrant with respondToAuthorizationRequest method completed 2016-02-12 10:01:15 +00:00
Alex Bilbie 92a101f263 First commit of AuthCode rewrite 2016-02-11 17:30:01 +00:00
Alex Bilbie 82413513e8 Checkin 2015-10-14 09:51:53 +01:00