feat: paste views; configuration validation; hmacsha256 method; enhance paste clean up serivce; paste view clean up service;

This commit is contained in:
2026-01-09 19:12:05 -05:00
parent 60876eb1ba
commit 3048af3a6d
20 changed files with 592 additions and 46 deletions
+6 -1
View File
@@ -1,9 +1,14 @@
namespace SharpbinV3.Server.Settings
using System.ComponentModel.DataAnnotations;
namespace SharpbinV3.Server.Settings
{
public class JWTSettings
{
[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";
}
}