From 1bc6bd32bacdb976ad3b39d6049357ffc4d29dd4 Mon Sep 17 00:00:00 2001 From: Afresh Date: Tue, 28 Dec 2021 14:52:51 +0800 Subject: [PATCH 1/2] Update IdentityServer.md --- docs/zh-Hans/Modules/IdentityServer.md | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/zh-Hans/Modules/IdentityServer.md b/docs/zh-Hans/Modules/IdentityServer.md index 838cdfe3ed..0dacf7b1f6 100644 --- a/docs/zh-Hans/Modules/IdentityServer.md +++ b/docs/zh-Hans/Modules/IdentityServer.md @@ -1,18 +1,18 @@ # 身份服务器模块 -身份服务器模块提供了一个 [IdentityServer](https://github.com/IdentityServer/IdentityServer4) (IDS) 的完全集成,该框架提供高级身份验证功能,如单点登录和API访问控制.此模块将客户端,资源以及其他 IDS 相关的对象保存到数据库中. +身份服务器模块提供了一个 [IdentityServer](https://github.com/IdentityServer/IdentityServer4) (IDS) 的完全集成, 该框架提供高级身份验证功能, 如单点登录和API访问控制.此模块将客户端,资源以及其他 IDS 相关的对象保存到数据库中. ## 如何安装 -当你使用 ABP 框架 [创建一个新的解决方案](https://abp.io/get-started) 时,此模块将被预安装(作为 NuGet/NPM 包).你可以继续用其作为包并轻松地获取更新,也可以将其源代码包含在解决方案中(请参阅 `get-source` [CLI](../CLI.md))以开发自定义模块. +当你使用 ABP 框架 [创建一个新的解决方案](https://abp.io/get-started) 时, 此模块将被预安装(作为 NuGet/NPM 包).你可以继续用其作为包并轻松地获取更新, 也可以将其源代码包含在解决方案中(请参阅 `get-source` [CLI](../CLI.md))以开发自定义模块. ### 源代码 -可以 [在此处](https://github.com/abpframework/abp/tree/dev/modules/identityserver) 访问源代码.源代码使用 [MIT](https://choosealicense.com/licenses/mit/) 许可,所以你可以免费使用和自定义它. +可以 [在此处](https://github.com/abpframework/abp/tree/dev/modules/identityserver) 访问源代码.源代码使用 [MIT](https://choosealicense.com/licenses/mit/) 许可, 所以你可以免费使用和自定义它. ## 用户界面 -此模块使用了领域逻辑和数据库集成,但没有提供任何 UI.如果你需要动态添加客户端和资源, 管理 UI 是非常有用的.在这种情况下,你可以自己构建管理 UI,或者考虑购买为此模块提供了管理 UI 的 [ABP 商业版](https://commercial.abp.io/). +此模块使用了领域逻辑和数据库集成, 但没有提供任何 UI.如果你需要动态添加客户端和资源, 管理 UI 是非常有用的.在这种情况下, 你可以自己构建管理 UI, 或者考虑购买为此模块提供了管理 UI 的 [ABP 商业版](https://commercial.abp.io/). ## 与其他模块的关系 @@ -27,10 +27,10 @@ ````csharp public override void PreConfigureServices(ServiceConfigurationContext context) { - PreConfigure(builder => - { - //Set options here... - }); + PreConfigure(builder => + { + //Set options here... + }); } ```` @@ -46,10 +46,10 @@ public override void PreConfigureServices(ServiceConfigurationContext context) ````csharp public override void PreConfigureServices(ServiceConfigurationContext context) { - PreConfigure(builder => - { - builder.AddSigningCredential(...); - }); + PreConfigure(builder => + { + builder.AddSigningCredential(...); + }); } ```` @@ -107,7 +107,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context) #### 领域服务 -此模块不包含任何领域服务,但重写了下面的服务; +此模块不包含任何领域服务, 但重写了下面的服务; * `AbpProfileService` (当 `AbpIdentityServerBuilderOptions.IntegrateToAspNetIdentity` 为 true 时使用) * `AbpClaimsService` @@ -132,13 +132,13 @@ public override void PreConfigureServices(ServiceConfigurationContext context) ##### 表/集合 前缀 & 架构 -所有表/集合都使用 `IdentityServer` 作为默认前缀.如果你需要改变表的前缀或设置一个架构名称(如果你的数据库提供程序支持),请设置 `AbpIdentityServerDbProperties` 类的静态属性. +所有表/集合都使用 `IdentityServer` 作为默认前缀.如果你需要改变表的前缀或设置一个架构名称(如果你的数据库提供程序支持), 请设置 `AbpIdentityServerDbProperties` 类的静态属性. ##### 连接字符串 -此模块使用 `AbpIdentityServer` 作为连接字符串的名称.如果你没有用这个名称定义连接字符串,它将回退到 `Default` 连接字符串. +此模块使用 `AbpIdentityServer` 作为连接字符串的名称.如果你没有用这个名称定义连接字符串, 它将回退到 `Default` 连接字符串. -有关详细信息,请参阅 [连接字符串](https://docs.abp.io/en/abp/latest/Connection-Strings) 文档. +有关详细信息, 请参阅 [连接字符串](https://docs.abp.io/en/abp/latest/Connection-Strings) 文档. #### EF Core From 62693479d82c80da5a412bc4d1f708dd37c33dff Mon Sep 17 00:00:00 2001 From: Afresh Date: Tue, 28 Dec 2021 21:04:19 +0800 Subject: [PATCH 2/2] Update IdentitySrever.md --- docs/zh-Hans/Modules/IdentityServer.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/zh-Hans/Modules/IdentityServer.md b/docs/zh-Hans/Modules/IdentityServer.md index 0dacf7b1f6..1359c04e53 100644 --- a/docs/zh-Hans/Modules/IdentityServer.md +++ b/docs/zh-Hans/Modules/IdentityServer.md @@ -22,7 +22,7 @@ ### AbpIdentityServerBuilderOptions -`AbpIdentityServerBuilderOptions` 在你的身份服务器 [模块](https://docs.abp.io/en/abp/latest/Module-Development-Basics) 中的 `PreConfigureServices` 方法中配置.例如: +`AbpIdentityServerBuilderOptions` 在你的身份服务器 [模块](https://docs.abp.io/zh-Hans/abp/latest/Module-Development-Basics) 中的 `PreConfigureServices` 方法中配置.例如: ````csharp public override void PreConfigureServices(ServiceConfigurationContext context) @@ -41,7 +41,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context) * `IntegrateToAspNetIdentity` (默认值:true):集成到 ASP.NET Identity. * `AddDeveloperSigningCredential` (默认值:true):设置为 false 禁止调用 IIdentityServerBuilder 中的 `AddDeveloperSigningCredential()`. -`IIdentityServerBuilder` 可以在你的身份服务器 [模块](https://docs.abp.io/en/abp/latest/Module-Development-Basics) 中的 `PreConfigureServices` 方法中配置.例如: +`IIdentityServerBuilder` 可以在你的身份服务器 [模块](https://docs.abp.io/zh-Hans/abp/latest/Module-Development-Basics) 中的 `PreConfigureServices` 方法中配置.例如: ````csharp public override void PreConfigureServices(ServiceConfigurationContext context) @@ -107,7 +107,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context) #### 领域服务 -此模块不包含任何领域服务, 但重写了下面的服务; +此模块不包含任何领域服务, 但重写了下面的服务; * `AbpProfileService` (当 `AbpIdentityServerBuilderOptions.IntegrateToAspNetIdentity` 为 true 时使用) * `AbpClaimsService` @@ -138,7 +138,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context) 此模块使用 `AbpIdentityServer` 作为连接字符串的名称.如果你没有用这个名称定义连接字符串, 它将回退到 `Default` 连接字符串. -有关详细信息, 请参阅 [连接字符串](https://docs.abp.io/en/abp/latest/Connection-Strings) 文档. +有关详细信息, 请参阅 [连接字符串](https://docs.abp.io/zh-Hans/abp/latest/Connection-Strings) 文档. #### EF Core