Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Millington 793000f149 Fix ServerRequestInterface docblock type 2018-05-13 17:52:45 +01:00
Andrew Millington f8c2e721a0 Remove return voids and fix docblock and use orders 2018-05-13 17:41:21 +01:00
Andrew Millington cbce5f45ba Fix case for serverRequest variable and remove unused variable 2018-05-13 17:38:07 +01:00
Andrew Millington c2dcdee266 Change order of use statements 2018-05-13 17:34:06 +01:00
Andrew Millington 33ce849617 Add tests for invalid client exception 2018-05-13 17:29:07 +01:00
Andrew Millington ff5e9f57a5 Only add authenticate header if present in original request thephpleague/oauth2-server#745 2018-05-10 22:07:03 +01:00
Andrew Millington 8a619e5c1e Change hint so it applies to both the auth and access token requests 2018-04-21 18:07:38 +01:00
Andrew Millington 25c3c216a0 Apply fixes from StyleCI 2018-02-17 19:31:59 +00:00
Lukáš Unger cd5233392e Updated dependencies, more strict static analysis 2018-02-17 18:07:16 +01:00
Andrew Millington 7a6c35bc29 Merge pull request #849 from lookyman/phpunit-version
Update PHPUnit, run static analysis on tests
2018-02-17 16:28:41 +00:00
Andrew Millington 8614aea887 Revert "Remove temp variables and @var comments"
This reverts commit 7a5c511807.
2018-02-17 16:27:41 +00:00
Andrew Millington 7a5c511807 Remove temp variables and @var comments 2018-02-17 16:15:48 +00:00
Andrew Millington fea577f25b Merge pull request #719 from stratoss/stratoss-patch-exeption
Getter and setter for the payload and ability to pass options to json_encode
2018-02-11 22:48:23 +00:00
Lukáš Unger 1f87c7a7be Update PHPUnit, run static analysis on tests 2018-02-11 23:22:46 +01:00
Lukáš Unger eca385ab08 Static analysis with PHPStan 2018-02-11 22:20:17 +01:00
Andrew Millington 2765481b9f Handle no scope hint 2017-11-18 18:47:38 +00:00
Alex Bilbie c86c7dde70 Fix #759 2017-08-03 16:07:11 +01:00
Alex Bilbie 6bdd108145 Escape scope parameter to reduce pontential XSS vector 2017-07-01 16:43:31 +01:00
Stanimir Stoyanov d73b15ae32 Getter and setter for the payload and ability to pass options to json_encode 2017-03-20 14:52:35 +02:00
jeremykendall 01677a564e Fix WWW-Authenticate entry in $headers array
In this context the header name should be the array key and the header
value the array value.
2016-10-11 22:27:24 -05:00
Lukáš Unger c3a4670c11 Updated PHPDoc 2016-07-09 02:01:53 +02:00
Alex Bilbie 8e8aed1a50 Implemented RFC7636. Fixes #574 2016-05-06 15:23:16 +01:00
Alex Bilbie f007e25070 Added copyright docblocks 2016-04-17 13:06:05 +01:00
Alex Bilbie 5969082963 Fix tests and improve code coverate 2016-04-10 15:58:01 +01:00
Alex Bilbie 251190d828 Fix #468 and #473 2016-03-17 14:37:21 +00:00
Alex Bilbie edf0ee8622 Removed unused code 2016-03-10 17:34:25 +00:00
Alex Bilbie 997d390f3d Applied fixes from StyleCI 2016-02-22 03:00:50 -05:00
Alex Bilbie ad270f7d9d Redirect either with query string parameters or fragment parameters 2016-02-22 07:58:44 +00:00
Alex Bilbie d02437dd73 Improved testing 2016-02-21 18:13:39 +00:00
Alex Bilbie eedcfe115c Bug fixes 2016-02-21 17:09:12 +00:00
Alex Bilbie 7f539f8736 Removed unused exception parameters 2016-02-21 16:40:01 +00:00
Alex Bilbie a2460886f6 Applied fixes from StyleCI 2016-02-19 18:09:39 -05:00
Alex Bilbie 38a7e53cb5 Added optional redirectUri parameter to accessDenied method 2016-02-12 09:59:47 +00:00
Julián Gutiérrez 8b185e0580 Merge branch 'V5-WIP' into minor_merge 2016-02-12 00:12:56 +01:00
Alex Bilbie a40ac5d77b Minor fixes 2016-02-11 17:49:41 +00:00
Alex Bilbie 770bda8f10 Merge pull request #431 from juliangut/redirectUri
V5 - use Psr\Http\Message\UriInterface
2016-02-11 17:35:33 +00:00
Julián Gutiérrez b7b1f56d0c stream write fix 2016-01-20 10:58:45 +01:00
Julián Gutiérrez 3e5889e93b minor improvements and documentation fixes 2016-01-20 10:36:16 +01:00
Julián Gutiérrez 95634fb390 compound redirect uri with Psr\Http\Message\UriInterface 2016-01-17 17:28:27 +01:00
Alex Bilbie 212938d1e2 Fixed call to static 2016-01-17 14:55:48 +00:00
Alex Bilbie cd19f11799 Fixed conversion to response object 2016-01-17 14:55:36 +00:00
Alex Bilbie 660378c7b3 Added MAC auth scheme to 401 header 2016-01-17 14:28:13 +00:00
Alex Bilbie 5f22ead287 Updated access denied hint 2016-01-17 14:11:21 +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 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
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 9958e1bf80 Added serverError exception 2016-01-12 22:59:14 +00:00