Class RateLimitSettings
- Namespace
- Ando.Server.Configuration
- Assembly
- Ando.Server.dll
Configuration for rate limiting.
public class RateLimitSettings
- Inheritance
-
RateLimitSettings
- Inherited Members
Fields
SectionName
Configuration section name in appsettings.json.
public const string SectionName = "RateLimiting"
Field Value
Properties
Api
Rate limit settings for authenticated API endpoints.
public EndpointRateLimit Api { get; set; }
Property Value
Auth
Rate limit settings for login/authentication attempts.
public EndpointRateLimit Auth { get; set; }
Property Value
Enabled
Whether rate limiting is enabled. Default is true.
public bool Enabled { get; set; }
Property Value
Webhook
Rate limit settings for the webhook endpoint (unauthenticated).
public EndpointRateLimit Webhook { get; set; }