Merge pull request #11024 from abpframework/auto-merge/rel-5-0/732

Merge branch dev with rel-5.0
pull/11026/head^2
maliming 4 years ago committed by GitHub
commit 2bd6638ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@ The most common question is;
The answer is, **you don't**. ABP Angular application is integrated with the backend (HttpApi.Host project) where it loads the configurations, **permissions** etc. For none-tiered angular applications, **HttpApi.Host** project also has IdentityServer4 embedded; also serving as **Authorization Server**. Angular application authentication flow is shown below.
<img src="auth-diagram.jpeg" alt="auth-diagram" style="zoom:50%;" />
![auth-diagram](auth-diagram.jpeg)
> What if I want Azure AD as my authorization server and not IdentityServer?
@ -80,7 +80,7 @@ Navigate to Manage Azure Active Directory in [azure portal](https://portal.azure
Enter a name for your application and **App.SelfUrl** + **AzureAd.CallbackPath** as redirect uri then register.
<img src="azure-app-register.JPG" alt="azure-app-register" style="zoom:75%;" />
![azure-app-register](azure-app-register.JPG)
Now navigate to **Authentication** on the left menu and enable **ID tokens**.

@ -948,7 +948,7 @@ Since the HTTP APIs have been changed, you need to update Angular client side [s
Run the following command in the `angular` folder (you may need to stop the angular application):
```bash
abp generate-proxy
abp generate-proxy -t ng
```
This command will update the service proxy files under the `/src/app/proxy/` folder.

@ -605,7 +605,7 @@ function configureRoutes(routes: RoutesService) {
Run the following command in the `angular` folder:
```bash
abp generate-proxy
abp generate-proxy -t ng
```
This command generates the service proxy for the author service and the related model (DTO) classes:

@ -15,7 +15,7 @@ ABP introduces an endpoint that exposes server-side method contracts. When the `
Run the following command in the **root folder** of the angular application:
```bash
abp generate-proxy
abp generate-proxy -t ng
```
The command without any parameters creates proxies only for your own application's services and places them in your default Angular application. There are several parameters you may use to modify this behavior. See the [CLI documentation](../../CLI) for details.

@ -682,7 +682,7 @@ ABP提供了一个便捷的功能来自动创建客户端服务, 以方便地使
当启动 `TodoApp.HttpApi.Host` 项目后, 在`angular`文件夹中打开一个命令行终端并输入以下命令:
````bash
abp generate-proxy
abp generate-proxy -t ng
````
如果一切顺利, 它应该生成如下输出:

@ -15,7 +15,7 @@ ABP CLI 的`generate-proxies` 命令在 `src/app` 文件夹中创建按模块名
在angular应用程序的**根文件夹**中运行以下命令:
```bash
abp generate-proxy
abp generate-proxy -t ng
```
它只为你自己的应用程序的服务创建代理. 不会为你正在使用的应用程序模块的服务创建代理(默认情况下). 有几个选项,参见[CLI文档](../../CLI).

Loading…
Cancel
Save