Implements authentication system

This commit is contained in:
BinaryAlley committed 2024-11-11 22:57:33 +02:00
1 parent 38829d64ff
commit a6dcf65d1c
103 files changed
+2983 -454

No files matched your search

@@ -29,6 +29,11 @@ public class UserEntity : IStorageEntity
/// </summary>
public required string Password { get; set; }
/// <summary>
/// Gets or sets the temporary hashed password used in password recovery.
/// </summary>
public string? TempPassword { get; set; }
/// <summary>
/// Gets or sets the optional Time-based One-Time Password (TOTP) secret for two-factor authentication.
/// </summary>
@@ -44,6 +49,11 @@ public class UserEntity : IStorageEntity
/// </summary>
public DateTime? VerificationTokenCreated { get; set; }
/// <summary>
/// Gets or sets the date and time when the temporary password used in password recovery was created.
/// </summary>
public DateTime? TempPasswordCreated { get; set; }
/// <summary>
/// Gets the collection of libraries owned by this user.
/// </summary>