Table of Contents

Class WebhookRateLimitSettings

Namespace
SEBT.Portal.Core.AppSettings
Assembly
SEBT.Portal.Core.dll

Configuration settings for Socure webhook endpoint rate limiting. Uses IP-based partitioning with a fixed window. TODO: Confirm appropriate thresholds with Socure and the team.

public class WebhookRateLimitSettings : IHaveConfigSectionName
Inheritance
object
WebhookRateLimitSettings
Implements

Properties

PermitLimit

Maximum number of webhook requests allowed per window per IP address.

[Range(1, 1000, ErrorMessage = "PermitLimit must be between 1 and 1000.")]
public int PermitLimit { get; set; }

Property Value

int

SectionName

public static string SectionName { get; }

Property Value

string

WindowMinutes

Time window for rate limiting in minutes.

[Range(0.1, 60, ErrorMessage = "WindowMinutes must be between 0.1 and 60.")]
public double WindowMinutes { get; set; }

Property Value

double