feat: auth, compression, jwt, paste wip, roles, ratelimiting

This commit is contained in:
2025-11-24 21:50:26 -05:00
parent 050f0bc935
commit 6ec1a7fa7b
26 changed files with 611 additions and 473 deletions
+20
View File
@@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations;
namespace SharpbinV3.DTOs
{
public class RegisterRequest
{
[Required]
[StringLength(50, MinimumLength = 3)]
public required string Username { get; set; }
[Required]
[StringLength(128, MinimumLength = 6)]
public required string Password { get; set; }
[EmailAddress]
public string? Email { get; set; }
public string? DisplayName { get; set; }
}
}