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.

ILuTokensBusiness.cs 691B

12345678910111213141516171819202122
  1. using Luticate2.Auth.Dbo.Users;
  2. using Luticate2.Utils.Dbo.Basic;
  3. using Luticate2.Utils.Dbo.PaginatedRequest;
  4. using Luticate2.Utils.Dbo.Result;
  5. namespace Luticate2.Auth.Interfaces.Tokens
  6. {
  7. public interface ILuTokensBusiness
  8. {
  9. LuResult<LuUsersTokenDbo> GetToken(string token);
  10. LuResult<string> RegisterToken(LuUsersTokenDbo token);
  11. LuResult<LuUsersTokenDbo> UnRegisterToken(string token);
  12. bool IsTokenValid(LuUsersTokenDbo token);
  13. LuResult<string> GenerateToken(LuUsersDbo user);
  14. LuResult<LuPaginatedDbo<LuUsersTokenDbo>> GetTokensForUser(LuUsersDbo user, LuPaginatedRequestDbo paginatedRequestDbo);
  15. }
  16. }