Update the documentation pages

This commit is contained in:
OpenIddict Bot 2021-01-13 05:02:24 +00:00
parent 50fd5de866
commit 4ac33e63bb
2 changed files with 5 additions and 3 deletions

View File

@ -171,7 +171,9 @@ Here's an example for the client credentials grant, used in machine-to-machi
// to replace the default OpenIddict entities.
options.UseOpenIddict();
});
</code></pre><p>-&gt; [!WARNING]
</code></pre></li>
</ul>
<p>-&gt; [!WARNING]
-&gt; Important: if you change the default entity primary key (e.g. to <code>int</code> or <code>Guid</code> instead of <code>string</code>), make sure you use the <code>options.ReplaceDefaultEntities&lt;TKey&gt;()</code>
-&gt; core extension accepting a <code>TKey</code> generic argument and use the generic <code>options.UseOpenIddict&lt;TKey&gt;()</code> overload to configure EF Core to use the specified type:
-&gt;
@ -193,7 +195,7 @@ Here&#39;s an example for the client credentials grant, used in machine-to-machi
-&gt; options.UseOpenIddict&lt;Guid&gt;();
-&gt; });
-&gt;</code></p>
</li>
<ul>
<li><p><strong>Create your own authorization controller:</strong>
Implementing a custom authorization controller is required to allow OpenIddict to create tokens based on the identities and claims you provide.
Here&#39;s an example for the client credentials grant:</p>

View File

@ -45,7 +45,7 @@
"output": {
".html": {
"relative_path": "guide/getting-started.html",
"hash": "x2y3JmMShZP8OKbVIkktGw=="
"hash": "PAK5Gf5at4cqxIPy5Io9pg=="
}
},
"is_incremental": false,