Class AdminAuthRateLimitOptions
Options for admin authentication request rate limiting.
public sealed class AdminAuthRateLimitOptions
- Inheritance
-
objectAdminAuthRateLimitOptions
- Extension Methods
Properties
Enabled
Indicates if request rate limitation is enabled.
public bool Enabled { get; set; }
Property Value
- bool
Remarks
The default value is true.
QueueLimit
The maximum number of requests that can be queued.
public int QueueLimit { get; set; }
Property Value
- int
Remarks
The default value is 50.
ReplenishmentPeriod
The replenishment period of tokens.
public TimeSpan ReplenishmentPeriod { get; set; }
Property Value
- TimeSpan
Remarks
The default value is 6 seconds.
RequestQueueProcessingOrder
The order in which requests are processed in the queue.
public QueueProcessingOrder RequestQueueProcessingOrder { get; set; }
Property Value
- QueueProcessingOrder
Remarks
The default value is QueueProcessingOrder.OldestFirst.
TokenLimit
The maximum number of tokens available.
public int TokenLimit { get; set; }
Property Value
- int
Remarks
The default value is 100.
TokensPerPeriod
The number of tokens added per replenishment period.
public int TokensPerPeriod { get; set; }
Property Value
- int
Remarks
The default value is 10.