ini
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace AuthHex.Models;
|
||||
|
||||
public class UserMfa
|
||||
{
|
||||
public Guid UserMfaId { get; set; }
|
||||
|
||||
public Guid UserId { get; set; }
|
||||
public User User { get; set; } = null!;
|
||||
|
||||
public string? SecretKey { get; set; } // encrypted
|
||||
public bool? IsEnabled { get; set; }
|
||||
public bool? IsVerified { get; set; } = false;
|
||||
public string? BackupCodes { get; set; } // JSON array of backup codes
|
||||
public DateTime? LastUsedAt { get; set; }
|
||||
public DateTime? VerifiedAt { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user