mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-04-05 17:38:03 +08:00
Bump OpenIddict to 4.4.0
This commit is contained in:
parent
9cbf648e8b
commit
67c14ca9aa
@ -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:
|
- **Update your `.csproj` file** to reference the latest `OpenIddict` packages:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="OpenIddict.AspNetCore" Version="4.3.0" />
|
<PackageReference Include="OpenIddict.AspNetCore" Version="4.4.0" />
|
||||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.3.0" />
|
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.4.0" />
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Configure the OpenIddict core, server and validation services** in `Startup.ConfigureServices`.
|
- **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**:
|
- **Reference the `OpenIddict.EntityFrameworkCore` package**:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.1.1" />
|
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.4.0" />
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Create a database context deriving from `DbContext` (or `IdentityDbContext` when using ASP.NET Core Identity)**:
|
- **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**:
|
- **Reference the `OpenIddict.EntityFramework` package**:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="OpenIddict.EntityFramework" Version="3.1.1" />
|
<PackageReference Include="OpenIddict.EntityFramework" Version="4.4.0" />
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Create a database context deriving from `DbContext` and register the OpenIddict entities in the model**:
|
- **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**:
|
- **Reference the `OpenIddict.MongoDb` package**:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<PackageReference Include="OpenIddict.MongoDb" Version="3.1.1" />
|
<PackageReference Include="OpenIddict.MongoDb" Version="4.4.0" />
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Configure OpenIddict to use the MongoDB stores**:
|
- **Configure OpenIddict to use the MongoDB stores**:
|
||||||
|
Loading…
Reference in New Issue
Block a user