1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

WIP: scaffolding for families for enterprise sponsorship flow

This commit is contained in:
Matt Gibson
2021-10-30 13:34:03 -04:00
committed by Justin Baur
parent f9fd83d809
commit 0d9c0bdaea
7 changed files with 258 additions and 28 deletions

View File

@ -1,3 +1,6 @@
using System;
using System.Threading.Tasks;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
namespace Bit.Core.Services
@ -10,5 +13,24 @@ namespace Bit.Core.Services
{
_organizationSponsorshipRepository = organizationSponsorshipRepository;
}
public async Task OfferSponsorshipAsync(Organization sponsoringOrg, OrganizationUser sponsoringOrgUser, string sponsoredEmail)
{
// TODO: send sponsorship email, update sponsorship with offered email
throw new NotImplementedException();
}
public async Task SetUpSponsorshipAsync(OrganizationSponsorship sponsorship, Organization sponsoredOrganization)
{
// TODO: set up sponsorship
throw new NotImplementedException();
}
public async Task RemoveSponsorshipAsync(OrganizationSponsorship sponsorship)
{
// TODO: remove sponsorship
throw new NotImplementedException();
}
}
}