mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-09-18 09:44:27 +08:00
Bump OpenIddict to 4.6.0
This commit is contained in:
@@ -12,8 +12,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` packages:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="4.5.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.5.0" />
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="4.6.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.6.0" />
|
||||
```
|
||||
|
||||
- **Configure the OpenIddict core, server and validation services** in `Startup.ConfigureServices`.
|
||||
|
@@ -6,7 +6,7 @@ To configure OpenIddict to use Entity Framework Core as the database for applica
|
||||
- **Reference the `OpenIddict.EntityFrameworkCore` package**:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.5.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.6.0" />
|
||||
```
|
||||
|
||||
- **Create a database context deriving from `DbContext` (or `IdentityDbContext` when using ASP.NET Core Identity)**:
|
||||
|
@@ -6,7 +6,7 @@ To configure OpenIddict to use Entity Framework 6.x as the database for applicat
|
||||
- **Reference the `OpenIddict.EntityFramework` package**:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="OpenIddict.EntityFramework" Version="4.5.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFramework" Version="4.6.0" />
|
||||
```
|
||||
|
||||
- **Create a database context deriving from `DbContext` and register the OpenIddict entities in the model**:
|
||||
|
@@ -6,7 +6,7 @@ To configure OpenIddict to use MongoDB as the database for applications, authori
|
||||
- **Reference the `OpenIddict.MongoDb` package**:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="OpenIddict.MongoDb" Version="4.5.0" />
|
||||
<PackageReference Include="OpenIddict.MongoDb" Version="4.6.0" />
|
||||
```
|
||||
|
||||
- **Configure OpenIddict to use the MongoDB stores**:
|
||||
|
Reference in New Issue
Block a user