Browse Source

Merge pull request #14946 from abpframework/auto-merge/rel-7-0/1526

Merge branch dev with rel-7.0
pull/14995/head
maliming 4 years ago
committed by GitHub
parent
commit
b599d8a19c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Migration-Guides/OpenIddict-Blazor.md

6
docs/en/Migration-Guides/OpenIddict-Blazor.md

@ -62,7 +62,7 @@
typeof(AbpAccountWebOpenIddictModule),
```
- In the **MyApplicationBlazorModule.cs** add `PreConfigureServices` like below with your application name as the audience:
- In the **MyApplicationHostModule.cs** add `PreConfigureServices` like below with your application name as the audience:
```csharp
public override void PreConfigureServices(ServiceConfigurationContext context)
@ -79,7 +79,7 @@
}
```
- In the **MyApplicationBlazorModule.cs** `ConfigureServices` method, **replace the method call**:
- In the **MyApplicationHostModule.cs** `ConfigureServices` method, **replace the method call**:
From `ConfigureAuthentication(context, configuration);` to `ConfigureAuthentication(context);` and update the method as:
@ -90,7 +90,7 @@
}
```
- In the **MyApplicationBlazorModule.cs** `OnApplicationInitialization` method, **replace the midware**:
- In the **MyApplicationHostModule.cs** `OnApplicationInitialization` method, **replace the midware**:
```csharp
app.UseJwtTokenMiddleware();

Loading…
Cancel
Save