Merge pull request #14945 from abpframework/auto-merge/rel-6-0/1525

pull/14946/head
maliming 3 years ago committed by GitHub
commit 475ba223d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@
typeof(AbpAccountWebOpenIddictModule), 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 ```csharp
public override void PreConfigureServices(ServiceConfigurationContext context) 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: 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 ```csharp
app.UseJwtTokenMiddleware(); app.UseJwtTokenMiddleware();

Loading…
Cancel
Save