Table of Contents

Class OtpRateLimitSettings

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

Configuration settings for OTP rate limiting.

public class OtpRateLimitSettings : IHaveConfigSectionName
Inheritance
object
OtpRateLimitSettings
Implements

Properties

PermitLimit

Maximum number of OTP requests allowed per window.

[Range(1, 100, ErrorMessage = "PermitLimit must be between 1 and 100.")]
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