using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Enums; using Bit.Core.Models.Data; using Bit.Core.Models.Domain; namespace Bit.Core.Abstractions { public interface IUserService { Task CanAccessPremiumAsync(); Task ClearAsync(); Task ClearOrganizationsAsync(string userId); Task> GetAllOrganizationAsync(); Task GetEmailAsync(); Task GetKdfAsync(); Task GetKdfIterationsAsync(); Task GetOrganizationAsync(string id); Task GetSecurityStampAsync(); Task GetUserIdAsync(); Task IsAuthenticatedAsync(); Task ReplaceOrganizationsAsync(Dictionary organizations); Task SetInformationAsync(string userId, string email, KdfType kdf, int kdfIterations); Task SetSecurityStampAsync(string stamp); } }