- 配置AuthService使用OpenIddict reference tokens - 添加fengling-api客户端用于introspection验证 - 配置Console API通过OpenIddict验证reference tokens - 实现Tenant/Users/Roles/OAuthClients CRUD API - 添加GatewayController服务注册API - 重构Repository和Service层支持多租户 BREAKING CHANGE: API认证现在使用OpenIddict reference tokens
14 lines
426 B
C#
14 lines
426 B
C#
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace Fengling.Console.Models.Entities;
|
|
|
|
public class ApplicationUser : IdentityUser<long>
|
|
{
|
|
public string? RealName { get; set; }
|
|
public string? Phone { get; set; }
|
|
public TenantInfo TenantInfo { get; set; } = null!;
|
|
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
|
|
public DateTime? UpdatedTime { get; set; }
|
|
public bool IsDeleted { get; set; }
|
|
}
|