mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 20:03:11 +00:00
16 lines
547 B
C#
16 lines
547 B
C#
|
|
namespace SeaHaven.Services.Configuration
|
||
|
|
{
|
||
|
|
public sealed class WorkOrderWebhookOptions
|
||
|
|
{
|
||
|
|
public const string SectionName = "WorkOrderWebhook";
|
||
|
|
|
||
|
|
public bool Enabled { get; set; }
|
||
|
|
public int MaxBodyBytes { get; set; } = 1_048_576;
|
||
|
|
public int AllowedClockSkewSeconds { get; set; } = 300;
|
||
|
|
public int SecretCacheSeconds { get; set; } = 300;
|
||
|
|
public string? Region { get; set; }
|
||
|
|
public Dictionary<string, string> KeySecrets { get; set; } =
|
||
|
|
new(StringComparer.Ordinal);
|
||
|
|
}
|
||
|
|
}
|