nextcloud/apps/federatedfilesharing/lib
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations
This allows adding rate limiting via annotations to controllers, as one example:

```
@UserRateThrottle(limit=5, period=100)
@AnonRateThrottle(limit=1, period=100)
```

Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 12:00:16 +02:00
..
AppInfo Do proper DI 2017-04-11 15:04:01 +02:00
BackgroundJob Do proper DI 2017-04-11 15:04:01 +02:00
Controller Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
Settings allow to disable upload to lookup server, by default it is enabled 2017-04-07 16:30:07 +02:00
AddressHandler.php Add a single public api for resolving a cloud id to a user and remote and back 2017-02-08 15:17:02 +01:00
FederatedShareProvider.php Update comments to Nextcloud 2017-04-11 23:16:27 -05:00
Notifications.php remove discovery manager in favour of the OCSDiscoveryService 2017-04-11 15:04:01 +02:00
Notifier.php Fix DI of the cloud id manager into apps 2017-02-14 12:47:46 +01:00
TokenHandler.php Fix apps/ 2016-07-21 18:13:57 +02:00