]> source.dussan.org Git - nextcloud-server.git/commit
feat(ratelimit): Add Attributes support to rate limit middleware 37864/head
authorJoas Schilling <coding@schilljs.com>
Fri, 21 Apr 2023 13:08:55 +0000 (15:08 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 24 Apr 2023 10:24:48 +0000 (12:24 +0200)
commit89c3c3140210c854fd1bee7507288ba216495220
tree3f517b7714661a64dd986ae074f59077d2471194
parent95c098170defa9362d09915a22a11e67cbead1b8
feat(ratelimit): Add Attributes support to rate limit middleware

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php
lib/public/AppFramework/Http/Attribute/ARateLimit.php [new file with mode: 0644]
lib/public/AppFramework/Http/Attribute/AnonRateLimit.php [new file with mode: 0644]
lib/public/AppFramework/Http/Attribute/UserRateLimit.php [new file with mode: 0644]
tests/lib/AppFramework/Middleware/Security/RateLimitingMiddlewareTest.php