stefanprodan / AspNetCoreRateLimit

ASP.NET Core rate limiting middleware
MIT License
3.11k stars 447 forks source link

Add wrapper method #478

Open gustafhalldor opened 6 months ago

gustafhalldor commented 6 months ago

Thank you for creating this handy rate limiter :)

The reason for this PR is because the industry is moving away from the word "whitelist" and replacing it with less loaded words. One of such words is "AllowedList". There are several search results on the web that explain why.

Corporate code scans are more and more frequently checking to see if the code base contains "whitelist"/"blacklist" and may reject code changes if they are found.

Would be appreciated if this one could be merged.

Thanks a bunch.