TShock/TShockAPI/Rest
George 09a8f95a70 Added rate limiting to RESTful API
Added token bucket and timer to degrade token bucket

Modified REST API rate limiting

Changed limiting to only be on token create and v2 token create
Added config options to choose time limits
Passed HttpContext to the execute method of endpoints

Made blocking failed API logins optional

Changed error codes on failed login to be ambiguous
Added config to decide whether all or failed logins are limited

Changed config variable names

Cleaned up duplicate code in REST rate limiting

Fixed my typo

Changed error 431 to 403
2015-09-24 15:47:46 +01:00
..
Rest.cs Added rate limiting to RESTful API 2015-09-24 15:47:46 +01:00
RestCommand.cs Added rate limiting to RESTful API 2015-09-24 15:47:46 +01:00
RestManager.cs Added rate limiting to RESTful API 2015-09-24 15:47:46 +01:00
RestObject.cs Updated XML documentation for several methods 2015-04-12 23:39:04 -06:00
RestPermissions.cs Change static readonly fields in RestManager to const, as a const is a static readonly field, and allows us to use them in the rest documentation attributes. 2015-04-05 17:44:27 -04:00
RestVerbs.cs Updated XML documentation for several methods 2015-04-12 23:39:04 -06:00
SecureRest.cs Added rate limiting to RESTful API 2015-09-24 15:47:46 +01:00