nextcloud/lib/public/AppFramework/Http
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
..
ContentSecurityPolicy.php Add support for CSP nonces 2016-10-24 12:27:50 +02:00
DataDisplayResponse.php Fix others 2016-07-21 18:13:57 +02:00
DataDownloadResponse.php Fix others 2016-07-21 18:13:57 +02:00
DataResponse.php Fix others 2016-07-21 18:13:57 +02:00
DownloadResponse.php Fix others 2016-07-21 18:13:57 +02:00
EmptyContentSecurityPolicy.php Web app manifest 2017-03-28 18:39:57 -06:00
FileDisplayResponse.php @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
ICallbackResponse.php Fix others 2016-07-21 18:13:57 +02:00
IOutput.php allow passing a stream to StreamResponse 2016-11-16 15:30:36 +01:00
JSONResponse.php Fix others 2016-07-21 18:13:57 +02:00
NotFoundResponse.php Fix others 2016-07-21 18:13:57 +02:00
OCSResponse.php Deprecate OCSRespone 2016-09-05 10:51:19 +02:00
RedirectResponse.php Fix others 2016-07-21 18:13:57 +02:00
Response.php Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
StreamResponse.php prevent warning in StreamResponse 2016-11-29 15:29:02 +01:00
TemplateResponse.php Fix others 2016-07-21 18:13:57 +02:00