2017-03-03 06:07:11 +01:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Bit.Core.Models.Business;
|
|
|
|
|
using Bit.Core.Domains;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IOrganizationService
|
|
|
|
|
{
|
|
|
|
|
Task<Tuple<Organization, OrganizationUser>> SignUpAsync(OrganizationSignup organizationSignup);
|
2017-03-05 03:28:41 +01:00
|
|
|
|
Task<OrganizationUser> InviteUserAsync(Guid organizationId, string email);
|
|
|
|
|
Task<OrganizationUser> AcceptUserAsync(Guid organizationUserId, User user, string token);
|
|
|
|
|
Task<OrganizationUser> ConfirmUserAsync(Guid organizationUserId, string key);
|
2017-03-03 06:07:11 +01:00
|
|
|
|
}
|
|
|
|
|
}
|