forked from gongxuegit/tiku-backend.net
feat: add local authentication
This commit is contained in:
7
Tiku.Application/Auth/IPasswordHasher.cs
Normal file
7
Tiku.Application/Auth/IPasswordHasher.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Tiku.Application.Auth;
|
||||
|
||||
public interface IPasswordHasher
|
||||
{
|
||||
string Hash(string password);
|
||||
bool Verify(string password, string passwordHash);
|
||||
}
|
||||
Reference in New Issue
Block a user