1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

[PM-1033] refactor(wip): make AcceptUserCommand

This commit is contained in:
Andreas Coroiu
2023-06-29 13:19:17 +02:00
parent 43df689c7f
commit dc1319e7fa
5 changed files with 213 additions and 159 deletions

View File

@ -0,0 +1,13 @@
using Bit.Core.Entities;
namespace Bit.Core.OrganizationFeatures.OrganizationUsers.Interfaces;
public interface IAcceptUserCommand
{
Task<OrganizationUser> AcceptAsync(Guid organizationUserId, User user, string token);
Task<OrganizationUser> AcceptAsync(string orgIdentifier, User user);
Task<OrganizationUser> AcceptAsync(Guid organizationId, User user);
}