引入客户端级密码规则与消息模板配置#1476
Merged
Merged
Conversation
本次提交支持每个OIDC客户端自定义密码规则和消息模板(短信/邮件),包括: - 新增ClientConfig聚合及相关实体,支持client_id维度的密码规则与消息模板存储 - 密码校验与生成逻辑重构,支持正则与结构化配置,FluentValidation扩展支持client_id透传 - 新增IClientMessageTemplateProvider,短信/邮件发送优先使用客户端级模板 - 新增/扩展DTO、命令、查询,支持前后端配置管理 - 新增RESTful API及事件处理,客户端信息变更自动同步配置 - 数据库迁移与实体映射适配PostgreSQL/SqlServer - 表单验证器支持按client_id动态校验密码规则 - 代码结构优化,补充版权声明,移除冗余依赖 提升了多租户/多客户端场景下的安全性与可扩展性。
Qinyouzeng
approved these changes
Jul 3, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


本次提交支持每个OIDC客户端自定义密码规则和消息模板(短信/邮件),包括:
提升了多租户/多客户端场景下的安全性与可扩展性。