Update the documentation pages

This commit is contained in:
OpenIddict Bot 2021-06-11 15:48:28 +00:00
parent de8c28e5ba
commit 5b76532d3f
4 changed files with 10 additions and 9 deletions

View File

@ -117,7 +117,8 @@ While not recommended, support for the <code>code_challenge_method=plain</code>
<pre><code class="lang-csharp">services.AddOpenIddict()
.AddServer(options =&gt;
{
options.Configure(options =&gt; options.CodeChallengeMethods.Add(CodeChallengeMethods.Plain));
options.Configure(options =&gt; options.CodeChallengeMethods.Add(
CodeChallengeMethods.Plain));
});
</code></pre></article>
</div>

View File

@ -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">&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;3.0.4&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;3.0.4&quot; /&gt;
<pre><code class="lang-xml">&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;3.0.5&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;3.0.5&quot; /&gt;
</code></pre></li>
<li><p><strong>Configure the OpenIddict core, server and validation services</strong> in <code>Startup.ConfigureServices</code>.
Here&#39;s an example for the client credentials grant, used in machine-to-machine scenarios:</p>

View File

@ -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">&lt;ItemGroup&gt;
&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;3.0.4&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;3.0.4&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;3.0.5&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;3.0.5&quot; /&gt;
&lt;/ItemGroup&gt;
</code></pre><h2 id="ensure-your-application-doesnt-reference-legacyunsupported-packages">Ensure your application doesn&#39;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, &quot;api1&quot;);
});
});
</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>

View File

@ -9897,7 +9897,7 @@
"output": {
".html": {
"relative_path": "configuration/proof-key-for-code-exchange.html",
"hash": "L/hXMSmsUxcNSH2IJxQLBA=="
"hash": "oCwSdYRd1bK5ksTRpu0Dlg=="
}
},
"is_incremental": false,
@ -11428,7 +11428,7 @@
"output": {
".html": {
"relative_path": "guide/getting-started.html",
"hash": "gGhXsXq9ylXZmxX2NdMpvQ=="
"hash": "nqHLmVRQYdtOgDveXDpG9A=="
}
},
"is_incremental": false,
@ -11452,7 +11452,7 @@
"output": {
".html": {
"relative_path": "guide/migration/20-to-30.html",
"hash": "O/iTt2dJ0SrUbCqx0gvpsA=="
"hash": "+tpfZ6FNCGM03ndYGYtO6w=="
}
},
"is_incremental": false,