From 66c0143ca927ab0cd48fc308fc0279c573f531b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Tue, 17 Dec 2024 18:53:34 +0100 Subject: [PATCH] Bump OpenIddict to 6.0.0 --- guides/getting-started/creating-your-own-server-instance.md | 4 ++-- .../implementing-token-validation-in-your-apis.md | 2 +- .../integrating-with-a-remote-server-instance.md | 6 +++--- guides/migration/50-to-60.md | 6 ++++-- integrations/aspnet-core.md | 6 +++--- integrations/entity-framework-core.md | 2 +- integrations/entity-framework.md | 2 +- integrations/mongodb.md | 2 +- integrations/operating-systems.md | 2 +- integrations/quartz.md | 2 +- integrations/system-net-http.md | 4 ++-- integrations/web-providers.md | 2 +- 12 files changed, 21 insertions(+), 19 deletions(-) diff --git a/guides/getting-started/creating-your-own-server-instance.md b/guides/getting-started/creating-your-own-server-instance.md index b6e5327..fe1138e 100644 --- a/guides/getting-started/creating-your-own-server-instance.md +++ b/guides/getting-started/creating-your-own-server-instance.md @@ -16,8 +16,8 @@ If you don't want to start from one of the recommended samples, you'll need to: - **Update your `.csproj` file** to reference the latest `OpenIddict.AspNetCore` and `OpenIddict.EntityFrameworkCore` packages: ```xml - - + + ``` - **Register your Entity Framework Core database context and configure the OpenIddict core services** in `Program.cs` diff --git a/guides/getting-started/implementing-token-validation-in-your-apis.md b/guides/getting-started/implementing-token-validation-in-your-apis.md index 8cae486..129ce9a 100644 --- a/guides/getting-started/implementing-token-validation-in-your-apis.md +++ b/guides/getting-started/implementing-token-validation-in-your-apis.md @@ -12,7 +12,7 @@ If you don't want to start from one of the recommended samples, you'll need to: - **Reference the `OpenIddict.AspNetCore` package**: ```xml - + ``` - **Configure the OpenIddict validation services** in `Startup.ConfigureServices`: diff --git a/guides/getting-started/integrating-with-a-remote-server-instance.md b/guides/getting-started/integrating-with-a-remote-server-instance.md index 77bd835..4660bfd 100644 --- a/guides/getting-started/integrating-with-a-remote-server-instance.md +++ b/guides/getting-started/integrating-with-a-remote-server-instance.md @@ -18,7 +18,7 @@ in web and desktop applications. If you want to use a non-interactive flow like - **Update your `.csproj` file** to reference the latest `OpenIddict` package: ```xml - + ``` - **Configure the OpenIddict client services** in `Program.cs` (or `Startup.cs` if you use the regular ASP.NET Core web host): @@ -72,8 +72,8 @@ If you don't want to start from one of the recommended samples, you'll need to: - **Update your `.csproj` file** to reference the latest `OpenIddict.AspNetCore` and `OpenIddict.EntityFrameworkCore` packages: ```xml - - + + ``` - **Configure the OpenIddict core services** in `Program.cs` (or `Startup.cs`, depending on whether you're using the minimal host or the regular host): diff --git a/guides/migration/50-to-60.md b/guides/migration/50-to-60.md index e2891a8..0373856 100644 --- a/guides/migration/50-to-60.md +++ b/guides/migration/50-to-60.md @@ -2,6 +2,8 @@ ## What's new? +The most important changes introduced in 6.0 can be found [here](https://kevinchalet.com/2024/12/17/openiddict-6-0-general-availability/). + > [!NOTE] > **Migrating to OpenIddict 6.0 doesn't require making changes to your database** but new APIs have been added to the stores and existing APIs have been reworked: if you're using custom stores, you'll need to tweak them when upgrading to OpenIddict 6.0. @@ -13,8 +15,8 @@ For that, update your `.csproj` file to reference the `OpenIddict` 6.x packages. ```xml - - + + diff --git a/integrations/aspnet-core.md b/integrations/aspnet-core.md index d4ba1a6..fe3456c 100644 --- a/integrations/aspnet-core.md +++ b/integrations/aspnet-core.md @@ -40,9 +40,9 @@ To configure the ASP.NET Core integration, you'll need to: (depending on whether you need the client and/or server and/or validation features in your project): ```xml - - - + + + ``` - **Call `UseAspNetCore()` for each OpenIddict feature (client, server and validation) you want to add**: diff --git a/integrations/entity-framework-core.md b/integrations/entity-framework-core.md index dbd3419..7960870 100644 --- a/integrations/entity-framework-core.md +++ b/integrations/entity-framework-core.md @@ -6,7 +6,7 @@ To configure OpenIddict to use Entity Framework Core as the database for applica - **Reference the `OpenIddict.EntityFrameworkCore` package**: ```xml - + ``` - **Create a database context deriving from `DbContext` (or `IdentityDbContext` when using ASP.NET Core Identity)**: diff --git a/integrations/entity-framework.md b/integrations/entity-framework.md index 3298cc7..305c6c7 100644 --- a/integrations/entity-framework.md +++ b/integrations/entity-framework.md @@ -6,7 +6,7 @@ To configure OpenIddict to use Entity Framework 6.x as the database for applicat - **Reference the `OpenIddict.EntityFramework` package**: ```xml - + ``` - **Create a database context deriving from `DbContext` and register the OpenIddict entities in the model**: diff --git a/integrations/mongodb.md b/integrations/mongodb.md index bc848ca..d15d57d 100644 --- a/integrations/mongodb.md +++ b/integrations/mongodb.md @@ -6,7 +6,7 @@ To configure OpenIddict to use MongoDB as the database for applications, authori - **Reference the `OpenIddict.MongoDb` package**: ```xml - + ``` - **Configure OpenIddict to use the MongoDB stores**: diff --git a/integrations/operating-systems.md b/integrations/operating-systems.md index 1b05b1e..56e8cbf 100644 --- a/integrations/operating-systems.md +++ b/integrations/operating-systems.md @@ -291,7 +291,7 @@ To configure the operating system integration, you'll need to: - **Reference the `OpenIddict.Client.SystemIntegration` package**: ```xml - + ``` - **Call `UseSystemIntegration()` in the client options**: diff --git a/integrations/quartz.md b/integrations/quartz.md index 58ebd0d..36daaa3 100644 --- a/integrations/quartz.md +++ b/integrations/quartz.md @@ -6,7 +6,7 @@ To configure OpenIddict to use Quartz.NET to perform automated cleanup tasks, yo - **Reference the `OpenIddict.Quartz` package**: ```xml - + ``` - **Register the Quartz.NET services and configure it to use dependency injection and an in-memory store**: diff --git a/integrations/system-net-http.md b/integrations/system-net-http.md index e565a2c..aa321f7 100644 --- a/integrations/system-net-http.md +++ b/integrations/system-net-http.md @@ -15,8 +15,8 @@ To configure the `System.Net.Http` integration, you'll need to: (depending on whether you need the client and/or validation features in your project): ```xml - - + + ``` - **Call `UseSystemNetHttp()` for each OpenIddict feature (client and validation) you want to add**: diff --git a/integrations/web-providers.md b/integrations/web-providers.md index 813f467..a4660af 100644 --- a/integrations/web-providers.md +++ b/integrations/web-providers.md @@ -155,7 +155,7 @@ To configure the `System.Net.Http` integration, you'll need to: - **Reference the `OpenIddict.Client.WebIntegration` package**: ```xml - + ``` - **Call `UseWebProviders()` in the client options**: