//----------------------------------------------------------------------- // // Copyright (c) lanedirt. All rights reserved. // Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information. // //----------------------------------------------------------------------- namespace AliasServerDb; using Microsoft.AspNetCore.Identity; /// /// Alias vault user extending IdentityUser with fields for SRP authentication. /// public class AliasVaultUser : IdentityUser { /// /// Gets or sets created timestamp. /// public DateTime CreatedAt { get; set; } /// /// Gets or sets the timestamp when the user's password was last changed. /// public DateTime PasswordChangedAt { get; set; } /// /// Gets or sets a value indicating whether the user is blocked and should not be able to log in. /// public bool Blocked { get; set; } /// /// Gets or sets updated timestamp. /// public DateTime UpdatedAt { get; set; } /// /// Gets or sets the collection of vaults. /// public virtual ICollection Vaults { get; set; } = []; /// /// Gets or sets the collection of EmailClaims. /// public virtual ICollection EmailClaims { get; set; } = []; /// /// Gets or sets the collection of EncryptionKeys. /// public virtual ICollection EncryptionKeys { get; set; } = []; }