Update MixtapeIdentityUser.cs
This commit is contained in:
@@ -45,12 +45,12 @@ public abstract class MixtapeIdentityUser : MixtapeEntity
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The user's claims, for use in claims-based authentication.
|
/// The user's claims, for use in claims-based authentication.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<UserClaim> Claims { get; set; } = new();
|
public List<UserClaim> Claims { get; set; } = [];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The roles (aliases) of the user
|
/// The roles (aliases) of the user
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<string> RoleIds { get; set; } = new();
|
public List<string> RoleIds { get; set; } = [];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ability to implement ISupportsSoftDelete
|
/// Ability to implement ISupportsSoftDelete
|
||||||
@@ -99,10 +99,10 @@ public abstract class MixtapeIdentityUser : MixtapeEntity
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Store all external logins (Microsoft, Google, ...)
|
/// Store all external logins (Microsoft, Google, ...)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<UserExternalLogin> ExternalLogins { get; set; } = new();
|
public List<UserExternalLogin> ExternalLogins { get; set; } = [];
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Authenticator tokens
|
/// Authenticator tokens
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<UserToken> Tokens { get; set; } = new();
|
public List<UserToken> Tokens { get; set; } = [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user