using ShoppingAssistantApi.Application.Models.Dtos; using ShoppingAssistantApi.Application.Models.Identity; using ShoppingAssistantApi.Application.Models.Operations; namespace ShoppingAssistantApi.Application.IServices.Identity; public interface IUserManager { Task AccessGuestAsync(AccessGuestModel guest, CancellationToken cancellationToken); Task LoginAsync(AccessUserModel login, CancellationToken cancellationToken); Task AddToRoleAsync(string roleName, string userId, CancellationToken cancellationToken); Task RemoveFromRoleAsync(string roleName, string userId, CancellationToken cancellationToken); Task UpdateAsync(UserDto userDto, CancellationToken cancellationToken); Task UpdateUserByAdminAsync(string id, UserDto userDto, CancellationToken cancellationToken); Task RefreshAccessTokenAsync(TokensModel tokensModel, CancellationToken cancellationToken); }