1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

stub out new scim api for dir sync

This commit is contained in:
Kyle Spearrin
2017-12-12 13:21:15 -05:00
parent 3d05c9208f
commit 7b359053d6
26 changed files with 802 additions and 14 deletions

View File

@ -2,7 +2,7 @@
namespace Bit.Core.Models.Data
{
public class OrganizationUserUserDetails
public class OrganizationUserUserDetails : IExternal
{
public Guid Id { get; set; }
public Guid OrganizationId { get; set; }

View File

@ -0,0 +1,7 @@
namespace Bit.Core.Models
{
public interface IExternal
{
string ExternalId { get; }
}
}

View File

@ -3,7 +3,7 @@ using Bit.Core.Utilities;
namespace Bit.Core.Models.Table
{
public class Group : ITableObject<Guid>
public class Group : ITableObject<Guid>, IExternal
{
public Guid Id { get; set; }
public Guid OrganizationId { get; set; }

View File

@ -4,7 +4,7 @@ using Bit.Core.Enums;
namespace Bit.Core.Models.Table
{
public class OrganizationUser : ITableObject<Guid>
public class OrganizationUser : ITableObject<Guid>, IExternal
{
public Guid Id { get; set; }
public Guid OrganizationId { get; set; }