2017-03-04 21:28:41 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Models.Data
|
|
|
|
|
|
{
|
2017-03-06 20:51:13 -05:00
|
|
|
|
public class OrganizationUserOrganizationDetails
|
2017-03-04 21:28:41 -05:00
|
|
|
|
{
|
2017-03-06 20:51:13 -05:00
|
|
|
|
public Guid OrganizationId { get; set; }
|
2017-03-04 21:28:41 -05:00
|
|
|
|
public Guid? UserId { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
2020-01-15 15:17:32 -05:00
|
|
|
|
public bool UsePolicies { get; set; }
|
2020-07-22 09:38:39 -04:00
|
|
|
|
public bool UseSso { get; set; }
|
2017-05-08 14:22:40 -04:00
|
|
|
|
public bool UseGroups { get; set; }
|
2017-05-20 15:31:16 -04:00
|
|
|
|
public bool UseDirectory { get; set; }
|
2017-12-14 15:48:44 -05:00
|
|
|
|
public bool UseEvents { get; set; }
|
2017-07-07 14:08:30 -04:00
|
|
|
|
public bool UseTotp { get; set; }
|
2018-04-02 17:20:06 -04:00
|
|
|
|
public bool Use2fa { get; set; }
|
2019-03-02 15:09:33 -05:00
|
|
|
|
public bool UseApi{ get; set; }
|
2021-05-06 14:53:12 -05:00
|
|
|
|
public bool UseResetPassword { get; set; }
|
2020-08-27 11:11:59 -05:00
|
|
|
|
public bool UseBusinessPortal => UsePolicies || UseSso;
|
2017-11-06 16:01:58 -05:00
|
|
|
|
public bool SelfHost { get; set; }
|
|
|
|
|
|
public bool UsersGetPremium { get; set; }
|
2017-05-08 14:22:40 -04:00
|
|
|
|
public int Seats { get; set; }
|
|
|
|
|
|
public int MaxCollections { get; set; }
|
2017-07-07 14:08:30 -04:00
|
|
|
|
public short? MaxStorageGb { get; set; }
|
2017-03-06 20:51:13 -05:00
|
|
|
|
public string Key { get; set; }
|
2017-03-04 21:28:41 -05:00
|
|
|
|
public Enums.OrganizationUserStatusType Status { get; set; }
|
2017-03-25 16:34:30 -04:00
|
|
|
|
public Enums.OrganizationUserType Type { get; set; }
|
2017-04-11 15:57:13 -04:00
|
|
|
|
public bool Enabled { get; set; }
|
2020-07-28 21:11:45 -04:00
|
|
|
|
public string SsoExternalId { get; set; }
|
2020-08-26 14:12:04 -04:00
|
|
|
|
public string Identifier { get; set; }
|
2021-01-12 11:02:39 -05:00
|
|
|
|
public string Permissions { get; set; }
|
2021-03-30 09:48:52 -05:00
|
|
|
|
public string ResetPasswordKey { get; set; }
|
2021-05-06 14:53:12 -05:00
|
|
|
|
public string PublicKey { get; set; }
|
|
|
|
|
|
public string PrivateKey { get; set; }
|
2017-03-04 21:28:41 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|