nextcloud/lib/public/AppFramework
Lukas Reschke 8149945a91
Make BruteForceProtection annotation more clever
This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware.

Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 23:05:33 +02:00
..
Db Remove IDb interface which was deprecated for 3 years already 2016-12-14 11:42:16 +01:00
Http Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
OCS Fix others 2016-07-21 18:13:57 +02:00
Utility Fix others 2016-07-21 18:13:57 +02:00
ApiController.php Fix others 2016-07-21 18:13:57 +02:00
App.php Update with robin 2016-07-21 18:13:58 +02:00
Controller.php refactoring code to reduce cyclomatic complexit 2016-11-07 08:18:16 +01:00
Http.php Fix others 2016-07-21 18:13:57 +02:00
IApi.php Fix others 2016-07-21 18:13:57 +02:00
IAppContainer.php Fix others 2016-07-21 18:13:57 +02:00
Middleware.php Fix others 2016-07-21 18:13:57 +02:00
OCSController.php @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
QueryException.php Fix others 2016-07-21 18:13:57 +02:00