Files
SocialPub/PrivaPub/Models/User/EmailRecovery.cs
T

11 lines
295 B
C#
Raw Normal View History

2023-02-18 08:52:17 +01:00
using MongoDB.Entities;
2023-02-19 00:43:43 +01:00
namespace PrivaPub.Models.User
2023-02-18 08:52:17 +01:00
{
public class EmailRecovery : Entity
{
public string RootUserId { get; set; }
public string CodeHash { get; set; }//sha-256 of the code, hex; the code itself exists only in the email
public DateTime ExpiresAt { get; set; }
2023-02-18 08:52:17 +01:00
}
}