mirror of
https://github.com/bitwarden/server
synced 2025-12-10 21:33:41 +00:00
Add XML documentation to Premium in OrganizationUserUserDetails and User classes
This commit is contained in:
@@ -20,6 +20,10 @@ public class OrganizationUserUserDetails : IExternal, ITwoFactorProvidersUser, I
|
||||
public string Email { get; set; }
|
||||
public string AvatarColor { get; set; }
|
||||
public string TwoFactorProviders { get; set; }
|
||||
/// <summary>
|
||||
/// User's personal premium subscription status. Does not reflect organization premium access.
|
||||
/// Null when the organization user is in Invited status (UserId is null).
|
||||
/// </summary>
|
||||
public bool? Premium { get; set; }
|
||||
public OrganizationUserStatusType Status { get; set; }
|
||||
public OrganizationUserType Type { get; set; }
|
||||
|
||||
@@ -69,6 +69,10 @@ public class User : ITableObject<Guid>, IStorableSubscriber, IRevisable, ITwoFac
|
||||
/// The security state is a signed object attesting to the version of the user's account.
|
||||
/// </summary>
|
||||
public string? SecurityState { get; set; }
|
||||
/// <summary>
|
||||
/// Indicates whether the user has a personal premium subscription.
|
||||
/// Does not include premium access from organizations.
|
||||
/// </summary>
|
||||
public bool Premium { get; set; }
|
||||
public DateTime? PremiumExpirationDate { get; set; }
|
||||
public DateTime? RenewalReminderDate { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user