mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-09-22 20:13:32 +08:00
Update the documentation pages
This commit is contained in:
@@ -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.0.4" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.4" />
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.5" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.5" />
|
||||
</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
|
||||
@@ -198,7 +198,7 @@ still work after migrating, consider using the <code>principal.HasScope()</code>
|
||||
builder.RequireClaim(Claims.Private.Scope, "api1");
|
||||
});
|
||||
});
|
||||
</code></pre><h2 id="add-an-apply-migrations-if-necessary">Add an apply migrations, if necessary</h2>
|
||||
</code></pre><h2 id="add-and-apply-migrations-if-necessary">Add and apply migrations, if necessary</h2>
|
||||
<p>If your application uses Entity Framework Core or Entity Framework 6, add a migration to react to the schema changes listed below and apply it.</p>
|
||||
<h3 id="updated-properties">Updated properties</h3>
|
||||
<table>
|
||||
|
Reference in New Issue
Block a user