Skip to content

新增 email_code 授权类型及 Email 分组 - #765

Merged
wzh425 merged 1 commit into
mainfrom
feat/grant_type_email_code
Oct 12, 2026
Merged

wzh425 merged 1 commit into
mainfrom
feat/grant_type_email_code

Conversation

@MayueCif

Copy link
Copy Markdown
Contributor
  • GrantType.cs:新增常量 public const string EMAIL_CODE = "email_code" 并标注 [Description("EmailCode")]。
  • GrantTypes.cs:在 Code 集合中加入 GrantType.EMAIL_CODE;新增 public static ICollection Email => new[] { GrantType.EMAIL_CODE }。
  • 说明:_disallowCombinations 未变更。将 email_code 注册为 Code 类别并对外暴露 Email 分组,便于后续验证与使用。

- GrantType.cs:新增常量 public const string EMAIL_CODE = "email_code" 并标注 [Description("EmailCode")]。
- GrantTypes.cs:在 Code 集合中加入 GrantType.EMAIL_CODE;新增 public static ICollection<string> Email => new[] { GrantType.EMAIL_CODE }。
- 说明:_disallowCombinations 未变更。将 email_code 注册为 Code 类别并对外暴露 Email 分组,便于后续验证与使用。
@wzh425
wzh425 merged commit 1b86976 into main Oct 12, 2026
1 check failed
@wzh425
wzh425 deleted the feat/grant_type_email_code branch October 12, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants