feat(center-auth): implement register/login/refresh/logout with bcrypt and DTO validation

This commit is contained in:
nav
2026-05-12 08:47:44 +00:00
parent 97528ce2c5
commit 3ad8cc3a56
12 changed files with 404 additions and 13 deletions

View File

@@ -15,12 +15,12 @@
## 1. Fabric.Backend.CenterIdentity Hub
### 1.1 Auth
- [ ] 用户注册email/password
- [ ] 用户登录JWT access + refresh
- [ ] token 刷新
- [ ] 登出refresh token 失效)
- [ ] 密码哈希bcrypt/argon2
- [ ] DTO + 参数校验 + 错误码规范
- [x] 用户注册email/password
- [x] 用户登录JWT access + refresh
- [x] token 刷新
- [x] 登出refresh token 失效)
- [x] 密码哈希bcrypt/argon2
- [x] DTO + 参数校验 + 错误码规范
### 1.2 Guild Node 注册与握手
- [ ] `POST /nodes/register` shared-secret 校验