From 5dcbb80e0c9d16acec87eb6c3e958adb5273fe5b Mon Sep 17 00:00:00 2001 From: Omer KAYA Date: Mon, 5 Dec 2022 17:29:43 +0300 Subject: [PATCH] Update OpenIddict-Blazor There were 2 "MyApplicationBlazorModule.cs" that should be "MyApplicationHostModule.cs" --- docs/en/Migration-Guides/OpenIddict-Blazor.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/Migration-Guides/OpenIddict-Blazor.md b/docs/en/Migration-Guides/OpenIddict-Blazor.md index 4a3e166cb9..7db082808e 100644 --- a/docs/en/Migration-Guides/OpenIddict-Blazor.md +++ b/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();