BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/IUserService.cs

15 lines
469 B
C#
Raw Normal View History

2023-06-11 23:46:02 +00:00
using BotSharp.Abstraction.Users.Models;
2024-05-26 01:34:29 +00:00
using BotSharp.OpenAPI.ViewModels.Users;
2023-06-11 23:46:02 +00:00
namespace BotSharp.Abstraction.Users;
public interface IUserService
{
2023-11-14 01:25:25 +00:00
Task<User> GetUser(string id);
2023-06-11 23:46:02 +00:00
Task<User> CreateUser(User user);
2024-05-26 01:34:29 +00:00
Task<Token> ActiveUser(UserActivationModel model);
2024-05-20 16:35:45 +00:00
Task<Token?> GetToken(string authorization);
2023-06-11 23:46:02 +00:00
Task<User> GetMyProfile();
2024-05-30 09:11:42 +00:00
Task<bool> VerifyUserNameExisting(string userName);
Task<bool> VerifyEmailExisting(string email);
2023-06-11 23:46:02 +00:00
}