hopefully not a horribly foolish refactoring

This commit is contained in:
john 2025-05-11 23:26:09 +02:00
parent 59d660165f
commit 1ecaf64dea
82 changed files with 782 additions and 398 deletions

View file

@ -0,0 +1,19 @@
namespace Femto.Modules.Authentication.Models;
internal class UserPassword
{
public Guid Id { get; private set; }
public byte[] Hash { get; private set; }
public byte[] Salt { get; private set; }
private UserPassword() {}
public UserPassword(Guid id, byte[] hash, byte[] salt)
{
Id = id;
Hash = hash;
Salt = salt;
}
}