mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
style: format via csharpier
This commit is contained in:
@@ -6,8 +6,10 @@ namespace SharpbinV3.Server.Settings
|
||||
{
|
||||
[Required, MinLength(32), MaxLength(128)]
|
||||
public string Secret { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(128)]
|
||||
public string Issuer { get; set; } = "SharpbinApi";
|
||||
|
||||
[Required, MaxLength(128)]
|
||||
public string Audience { get; set; } = "SharpbinClient";
|
||||
}
|
||||
|
||||
@@ -9,8 +9,10 @@ namespace SharpbinV3.Server.Settings
|
||||
public int MaxPasteSizeInBytes { get; set; } = 1_048_576; // 1 MB
|
||||
public bool EnablePasteCompression { get; set; } = true;
|
||||
public bool RequiresVerification { get; set; } = true;
|
||||
|
||||
[Required, MinLength(32), MaxLength(128)]
|
||||
public string View_HMAC_Secret { get; set; } = string.Empty;
|
||||
|
||||
[MinLength(32), MaxLength(128)]
|
||||
public string View_Internal_API_Key { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user