You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ILuUsersBusiness.cs 596B

12345678910111213141516171819202122
  1. using Luticate2.Auth.Dbo.Users;
  2. using Luticate2.Utils.Dbo.Result;
  3. namespace Luticate2.Auth.Interfaces.Users
  4. {
  5. public interface ILuUsersBusiness
  6. {
  7. LuResult<UsersToken> GetToken(string token);
  8. LuResult<string> RegisterToken(UsersToken token);
  9. LuResult<UsersToken> UnRegisterToken(string token);
  10. bool IsTokenValid(UsersToken token);
  11. LuResult<UsersDbo> GetSingleById(string id);
  12. string HashPassword(string password, string salt);
  13. bool VerifyPasswordHash(string password, string hash, string salt);
  14. }
  15. }