Add MedMind recovery and Steam authentication

This commit is contained in:
hz
2026-07-16 00:24:07 -05:00
parent 0ca7a31daa
commit bf6f86b73c
14 changed files with 556 additions and 8 deletions
+18
View File
@@ -0,0 +1,18 @@
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace GameAuthApi.Models;
public class PasswordResetChallenge
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string UserId { get; set; }
public string CodeHash { get; set; }
public int FailedAttempts { get; set; }
public DateTime ExpiresUtc { get; set; }
public DateTime CreatedUtc { get; set; }
public bool Used { get; set; }
}