Table of Contents

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

string

Properties

Api

Rate limit settings for authenticated API endpoints.

public EndpointRateLimit Api { get; set; }

Property Value

EndpointRateLimit

Auth

Rate limit settings for login/authentication attempts.

public EndpointRateLimit Auth { get; set; }

Property Value

EndpointRateLimit

Enabled

Whether rate limiting is enabled. Default is true.

public bool Enabled { get; set; }

Property Value

bool

Webhook

Rate limit settings for the webhook endpoint (unauthenticated).

public EndpointRateLimit Webhook { get; set; }

Property Value

EndpointRateLimit