mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-11-09 02:44:44 +08:00
Update the documentation pages
This commit is contained in:
@@ -137,7 +137,7 @@ whose result returns the number of authorizations in the database.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_CountAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.CountAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_CountAsync__1_System_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.CountAsync``1(System.Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">CountAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_CountAsync__1_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.CountAsync``1(Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">CountAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Determines the number of authorizations that match the specified query.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
@@ -156,7 +156,7 @@ whose result returns the number of authorizations in the database.</p>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -904,7 +904,7 @@ whose result returns the application identifier associated with the authorizatio
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync__1_System_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync``1(System.Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">GetAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync__1_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync``1(Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">GetAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Executes the specified query and returns the first element.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
@@ -923,7 +923,7 @@ whose result returns the application identifier associated with the authorizatio
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -972,7 +972,7 @@ whose result returns the first element returned when executing the query.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync__2_System_Func_IQueryable_System_Object____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync``2(System.Func{IQueryable{System.Object},``0,IQueryable{``1}},``0,CancellationToken)">GetAsync<TState, TResult>(Func<IQueryable<Object>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_GetAsync__2_Func_IQueryable_System_Object____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.GetAsync``2(Func{IQueryable{System.Object},``0,IQueryable{``1}},``0,CancellationToken)">GetAsync<TState, TResult>(Func<IQueryable<Object>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Executes the specified query and returns the first element.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
@@ -991,7 +991,7 @@ whose result returns the first element returned when executing the query.</p>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1093,7 +1093,7 @@ whose result returns the first element returned when executing the query.</p>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">ValueTask</span><<span class="xref">System.Nullable</span><<span class="xref">System.DateTimeOffset</span>>></td>
|
||||
<td><span class="xref">ValueTask</span><<span class="xref">System.Nullable</span><<span class="xref">DateTimeOffset</span>>></td>
|
||||
<td><p>A <see cref="!:ValueTask<TResult>"></see> that can be used to monitor the asynchronous operation,
|
||||
whose result returns the creation date associated with the specified authorization.</p>
|
||||
</td>
|
||||
@@ -1643,7 +1643,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync__1_System_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync``1(System.Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">ListAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync__1_Func_IQueryable_System_Object__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync``1(Func{IQueryable{System.Object},IQueryable{``0}},CancellationToken)">ListAsync<TResult>(Func<IQueryable<Object>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Executes the specified query and returns all the corresponding elements.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
@@ -1662,7 +1662,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1710,7 +1710,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync__2_System_Func_IQueryable_System_Object____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync``2(System.Func{IQueryable{System.Object},``0,IQueryable{``1}},``0,CancellationToken)">ListAsync<TState, TResult>(Func<IQueryable<Object>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_ListAsync__2_Func_IQueryable_System_Object____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.ListAsync``2(Func{IQueryable{System.Object},``0,IQueryable{``1}},``0,CancellationToken)">ListAsync<TState, TResult>(Func<IQueryable<Object>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Executes the specified query and returns all the corresponding elements.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
@@ -1729,7 +1729,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><<span class="xref">System.Object</span>>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1902,7 +1902,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_PruneAsync_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.PruneAsync*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_PruneAsync_System_DateTimeOffset_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.PruneAsync(System.DateTimeOffset,CancellationToken)">PruneAsync(DateTimeOffset, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_PruneAsync_DateTimeOffset_CancellationToken_" data-uid="OpenIddict.Abstractions.IOpenIddictAuthorizationManager.PruneAsync(DateTimeOffset,CancellationToken)">PruneAsync(DateTimeOffset, CancellationToken)</h4>
|
||||
<div class="markdown level1 summary"><p>Removes the authorizations that are marked as invalid and the ad-hoc ones that have no token attached.
|
||||
Only authorizations created before the specified <code data-dev-comment-type="paramref" class="paramref">threshold</code> are removed.</p>
|
||||
</div>
|
||||
@@ -1922,7 +1922,7 @@ Only authorizations created before the specified <code data-dev-comment-type="pa
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.DateTimeOffset</span></td>
|
||||
<td><span class="xref">DateTimeOffset</span></td>
|
||||
<td><span class="parametername">threshold</span></td>
|
||||
<td><p>The date before which authorizations are not pruned.</p>
|
||||
</td>
|
||||
@@ -1951,7 +1951,7 @@ Only authorizations created before the specified <code data-dev-comment-type="pa
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h5 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_PruneAsync_System_DateTimeOffset_CancellationToken__remarks">Remarks</h5>
|
||||
<h5 id="OpenIddict_Abstractions_IOpenIddictAuthorizationManager_PruneAsync_DateTimeOffset_CancellationToken__remarks">Remarks</h5>
|
||||
<div class="markdown level1 remarks"><p>To ensure ad-hoc authorizations that no longer have any valid/non-expired token
|
||||
attached are correctly removed, the tokens should always be pruned first.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user