Add ASP.NET Identity (cookie auth) and role seeding

This commit is contained in:
2026-06-11 18:26:34 +00:00
parent 824a27520d
commit 8a7d01ac9e
9 changed files with 815 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace backend.Auth;
public static class Roles
{
public const string Admin = "Admin";
public const string User = "User";
public static readonly string[] All = { Admin, User };
}