AccountRateLimitOptions.Paths property
Request paths (excluding the path base) that are rate limited for POST requests, with optional per path overrides. Each path has its own limit, e.g. login attempts do not use up the forgot password limit. Paths are matched case-insensitively, ignoring a trailing slash. Configuration is merged into the defaults, so a path can be added or overridden without repeating the others, e.g. "Paths": { "/Account/SignUp": { "PermitLimit": 5 } }, and a default path can be disabled with "PermitLimit": 0.
public Dictionary<string, AccountRateLimitPathOptions> Paths { get; set; }
See Also
- class AccountRateLimitPathOptions
- class AccountRateLimitOptions