hopefully not a horribly foolish refactoring
This commit is contained in:
parent
59d660165f
commit
1ecaf64dea
82 changed files with 782 additions and 398 deletions
19
Femto.Modules.Authentication/Models/UserPassword.cs
Normal file
19
Femto.Modules.Authentication/Models/UserPassword.cs
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue