using System.Threading.Tasks; using Bit.Core.Models.Domain; using Bit.Core.Models.Response; namespace Bit.Core.Abstractions { public interface IKeyConnectorService { Task SetUsesKeyConnectorAsync(bool usesKeyConnector); Task GetUsesKeyConnectorAsync(); Task UserNeedsMigrationAsync(); Task MigrateUserAsync(); Task SetMasterKeyFromUrlAsync(string url); Task GetManagingOrganizationAsync(); Task ConvertNewUserToKeyConnectorAsync(string orgId, IdentityTokenResponse tokenResponse); } }