mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-04-05 17:38:03 +08:00
Update the documentation pages
This commit is contained in:
parent
16e15e8e50
commit
6d52d030bb
@ -71,7 +71,7 @@
|
||||
<p>To configure OpenIddict to use MongoDB as the database for applications, authorizations, scopes and tokens, you'll need to:</p>
|
||||
<ul>
|
||||
<li><p><strong>Reference the <code>OpenIddict.MongoDb</code> package</strong>:</p>
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.MongoDb" Version="3.1.0" />
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.MongoDb" Version="3.1.1" />
|
||||
</code></pre></li>
|
||||
<li><p><strong>Configure OpenIddict to use the MongoDB stores</strong>:</p>
|
||||
<pre><code class="lang-csharp">services.AddOpenIddict()
|
||||
|
@ -77,8 +77,8 @@
|
||||
using <strong>individual user accounts authentication</strong> is strongly recommended as it automatically includes the default ASP.NET Core Identity UI, based on Razor Pages.</p>
|
||||
</li>
|
||||
<li><p><strong>Update your <code>.csproj</code> file</strong> to reference the latest <code>OpenIddict</code> packages:</p>
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.AspNetCore" Version="3.1.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.1.0" />
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.AspNetCore" Version="3.1.1" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.1.1" />
|
||||
</code></pre></li>
|
||||
<li><p><strong>Configure the OpenIddict core, server and validation services</strong> in <code>Startup.ConfigureServices</code>.
|
||||
Here's an example for the client credentials grant, used in machine-to-machine scenarios:</p>
|
||||
|
@ -75,8 +75,8 @@
|
||||
<h2 id="update-your-packages-references">Update your packages references</h2>
|
||||
<p>For that, update your <code>.csproj</code> file to reference the <code>OpenIddict.AspNetCore</code> 3.x metapackage:</p>
|
||||
<pre><code class="lang-xml"><ItemGroup>
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.1.0" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.1.0" />
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.1.1" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.1.1" />
|
||||
</ItemGroup>
|
||||
</code></pre><h2 id="ensure-your-application-doesnt-reference-legacyunsupported-packages">Ensure your application doesn't reference legacy/unsupported packages</h2>
|
||||
<p>As part of the AspNet.Security.OpenIdConnect.Server/OpenIddict merge, the ASOS packages and 2 OpenIddict packages have been marked as legacy
|
||||
|
@ -69,7 +69,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "configuration/mongodb-integration.html",
|
||||
"hash": "vcDyBoS03o2Q44imkk3ehw=="
|
||||
"hash": "pZ/W/F4Rb5513BbB1LJmVg=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
@ -1612,7 +1612,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "guide/getting-started.html",
|
||||
"hash": "S7TfPY8oKpFNpZu3AmkDlg=="
|
||||
"hash": "ddBCFmOL1h8O8SKs3li7HQ=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
@ -1636,7 +1636,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "guide/migration/20-to-30.html",
|
||||
"hash": "WXzgMyQ1vqT7fXs1OQtjmw=="
|
||||
"hash": "Lvq7AtE3jy6vMeLi1d/Brg=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
|
Loading…
Reference in New Issue
Block a user