movingsam
f5d6e0652c
refactor: align TenantRepository with CleanDDD/NetCorePal规范
...
- remove duplicate ITenantRepository/TenantRepository from Console
- extend Platform ITenantRepository with GetByIdAsync, GetPagedAsync, CountAsync
- update Console services to use Platform.Infrastructure.Repositories
- fix nullable warnings (UserDto, OAuthClientService)
- fix YarpGateway Directory.Build.props duplicate import
- fix DynamicProxyConfigProvider CS8618 warning
2026-02-19 19:20:06 +08:00
movingsam
74122b2c8c
feat(auth): extract Tenant to Platform domain
...
- Add Fengling.Platform domain and infrastructure projects
- Move Tenant aggregate from AuthService/Console to Platform.Domain
- Add TenantRepository and SeedData to Platform
- Remove duplicate Tenant/TenantInfo models from AuthService and Console
- Update controllers and services to use Platform.Domain.Tenant
- Add new migrations for PlatformDbContext
BREAKING CHANGE: Tenant entity now uses strongly-typed ID (TenantId)
2026-02-18 23:02:03 +08:00
Sam
c8cb7c06bc
feat: 添加Console API认证和OpenIddict集成
...
- 配置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
2026-02-08 19:01:25 +08:00
Sam
61c3a27192
feat: 添加OAuth2认证配置和实现
...
添加OAuth2认证相关配置文件和服务实现,包括环境变量配置、PKCE流程支持、token管理等功能。主要变更:
- 新增OAuth2配置文件
- 实现OAuth2服务层
- 更新请求拦截器支持token自动刷新
- 修改认证API和store以支持OAuth2流程
2026-02-07 17:47:11 +08:00
Sam
e1ba3a90c3
feat(console): complete migration of User, Tenant, and Role management APIs
2026-02-05 14:21:36 +08:00
Sam
134647d6c9
feat(console): add RoleRepository
2026-02-05 14:15:20 +08:00
Sam
75b161bc60
feat(console): add TenantRepository
2026-02-05 14:15:02 +08:00
Sam
a76f37fbc9
feat(console): add UserRepository
2026-02-05 14:14:43 +08:00