Add user and roles

This commit is contained in:
2025-04-20 18:09:23 +02:00
parent 43bd22c1d7
commit 69c01a497c
7 changed files with 117 additions and 41 deletions

View File

@@ -0,0 +1,17 @@
using GameIdeas.Shared.Model;
using Microsoft.AspNetCore.Identity;
namespace GameIdeas.WebAPI.Tests
{
[TestClass]
public sealed class IdentityTest
{
[TestMethod]
public void GetPasswordHash()
{
var hasher = new PasswordHasher<User>();
var hash = hasher.HashPassword(null!, "GameIdeas");
Console.WriteLine(hash);
}
}
}