mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-17 19:37:38 +08:00
Update the documentation pages
This commit is contained in:
parent
b148f7bd86
commit
cdb746b17d
@ -282,49 +282,52 @@ if (await manager.FindByClientIdAsync("console") is null)
|
|||||||
{
|
{
|
||||||
options.IgnoreScopePermissions();
|
options.IgnoreScopePermissions();
|
||||||
});
|
});
|
||||||
</code></pre><h2 id="response-type-permissions-introduced-in-openiddict-30">Response type permissions (<em>introduced in OpenIddict 3.0</em>)</h2>
|
</code></pre><h2 id="response-type-permissions">Response type permissions</h2>
|
||||||
|
<p>-> [!NOTE]</p>
|
||||||
|
<blockquote><p>Response type permissions were introduced in OpenIddict 3.0.</p>
|
||||||
|
</blockquote>
|
||||||
<h3 id="definition-3">Definition</h3>
|
<h3 id="definition-3">Definition</h3>
|
||||||
<p>Response type permissions limit the response types a client application is allowed to use when implementing an interactive flow like code, implicit or hybrid.</p>
|
<p>Response type permissions limit the response types a client application is allowed to use when implementing an interactive flow like code, implicit or hybrid.</p>
|
||||||
<h3 id="supported-permissions-3">Supported permissions</h3>
|
<h3 id="supported-permissions-3">Supported permissions</h3>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Response type</th>
|
<th style="text-align:center">Response type</th>
|
||||||
<th>Constant</th>
|
<th style="text-align:center">Constant</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>code</td>
|
<td style="text-align:center">code</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.Code</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.Code</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>code id_token</td>
|
<td style="text-align:center">code id_token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.CodeIdToken</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.CodeIdToken</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>code id_token token</td>
|
<td style="text-align:center">code id_token token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.CodeIdTokenToken</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.CodeIdTokenToken</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>code token</td>
|
<td style="text-align:center">code token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.CodeToken</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.CodeToken</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>id_token</td>
|
<td style="text-align:center">id_token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.IdToken</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.IdToken</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>id_token token</td>
|
<td style="text-align:center">id_token token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.IdTokenToken</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.IdTokenToken</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>none</td>
|
<td style="text-align:center">none</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.None</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.None</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>token</td>
|
<td style="text-align:center">token</td>
|
||||||
<td><code>OpenIddictConstants.Permissions.ResponseTypes.Token</code></td>
|
<td style="text-align:center"><code>OpenIddictConstants.Permissions.ResponseTypes.Token</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"output": {
|
"output": {
|
||||||
".html": {
|
".html": {
|
||||||
"relative_path": "configuration/application-permissions.html",
|
"relative_path": "configuration/application-permissions.html",
|
||||||
"hash": "tXsJ6tTvLKNbcuYucWXqxQ=="
|
"hash": "bn2oc9vnYnRCNd31rO4mnw=="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"is_incremental": false,
|
"is_incremental": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user