include SecurityStamp in User object

This commit is contained in:
sbwalker
2024-09-16 13:03:21 -04:00
parent c74065ff26
commit f2c854b53a
3 changed files with 11 additions and 2 deletions

View File

@ -59,6 +59,12 @@ namespace Oqtane.Models
/// </summary>
public DateTime? TwoFactorExpiry { get; set; }
/// <summary>
/// A token indicating if a user's security properties have been modified
/// </summary>
[NotMapped]
public string SecurityStamp { get; set; }
/// <summary>
/// Reference to the <see cref="Site"/> this user belongs to.
/// </summary>
@ -66,8 +72,7 @@ namespace Oqtane.Models
public int SiteId { get; set; }
/// <summary>
/// Role names this user has.
/// TODO: todoc - is this comma separated?
/// Semi-colon delimited list of role names for the user
/// </summary>
[NotMapped]
public string Roles { get; set; }