Merge branch 'main' of https://git.azuze.fr/kawa/SharepointToolbox-Web
This commit is contained in:
@@ -6,6 +6,13 @@ public class AppUser
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string DisplayName { get; set; } = string.Empty;
|
||||
public UserRole Role { get; set; } = UserRole.TechN0;
|
||||
|
||||
/// <summary>Identity source. Entra = OIDC-provisioned, Local = password-based account.</summary>
|
||||
public AuthProvider Provider { get; set; } = AuthProvider.Entra;
|
||||
|
||||
/// <summary>PasswordHasher output. Only set for <see cref="AuthProvider.Local"/> users.</summary>
|
||||
public string? PasswordHash { get; set; }
|
||||
|
||||
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
|
||||
public DateTimeOffset? LastLogin { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user