mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2026-03-23 17:53:26 +08:00
Update the documentation pages
This commit is contained in:
@@ -308,7 +308,7 @@ whose result returns the number of authorizations in the database.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_CountAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.CountAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_CountAsync__1_System_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.CountAsync``1(System.Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">CountAsync<TResult>(Func<IQueryable<TAuthorization>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_CountAsync__1_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.CountAsync``1(Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">CountAsync<TResult>(Func<IQueryable<TAuthorization>, 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>
|
||||
@@ -327,7 +327,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><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1075,7 +1075,7 @@ whose result returns the application identifier associated with the authorizatio
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync__1_System_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync``1(System.Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">GetAsync<TResult>(Func<IQueryable<TAuthorization>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync__1_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync``1(Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">GetAsync<TResult>(Func<IQueryable<TAuthorization>, 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>
|
||||
@@ -1094,7 +1094,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><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1143,7 +1143,7 @@ whose result returns the first element returned when executing the query.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync__2_System_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync``2(System.Func{IQueryable{`0},``0,IQueryable{``1}},``0,CancellationToken)">GetAsync<TState, TResult>(Func<IQueryable<TAuthorization>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_GetAsync__2_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.GetAsync``2(Func{IQueryable{`0},``0,IQueryable{``1}},``0,CancellationToken)">GetAsync<TState, TResult>(Func<IQueryable<TAuthorization>, 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>
|
||||
@@ -1162,7 +1162,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><TAuthorization>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><TAuthorization>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1264,7 +1264,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>
|
||||
@@ -1814,7 +1814,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync__1_System_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync``1(System.Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">ListAsync<TResult>(Func<IQueryable<TAuthorization>, IQueryable<TResult>>, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync__1_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync``1(Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">ListAsync<TResult>(Func<IQueryable<TAuthorization>, 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>
|
||||
@@ -1833,7 +1833,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><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><TAuthorization>, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -1881,7 +1881,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync__2_System_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync``2(System.Func{IQueryable{`0},``0,IQueryable{``1}},``0,CancellationToken)">ListAsync<TState, TResult>(Func<IQueryable<TAuthorization>, TState, IQueryable<TResult>>, TState, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_ListAsync__2_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.ListAsync``2(Func{IQueryable{`0},``0,IQueryable{``1}},``0,CancellationToken)">ListAsync<TState, TResult>(Func<IQueryable<TAuthorization>, 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>
|
||||
@@ -1900,7 +1900,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><TAuthorization>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="xref">Func</span><<span class="xref">IQueryable</span><TAuthorization>, TState, <span class="xref">IQueryable</span><TResult>></td>
|
||||
<td><span class="parametername">query</span></td>
|
||||
<td><p>The query to execute.</p>
|
||||
</td>
|
||||
@@ -2073,7 +2073,7 @@ whose result returns the type associated with the specified authorization.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Core_OpenIddictAuthorizationManager_1_PruneAsync_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.PruneAsync*"></a>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_PruneAsync_System_DateTimeOffset_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.PruneAsync(System.DateTimeOffset,CancellationToken)">PruneAsync(DateTimeOffset, CancellationToken)</h4>
|
||||
<h4 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_PruneAsync_DateTimeOffset_CancellationToken_" data-uid="OpenIddict.Core.OpenIddictAuthorizationManager`1.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>
|
||||
@@ -2093,7 +2093,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>
|
||||
@@ -2122,7 +2122,7 @@ Only authorizations created before the specified <code data-dev-comment-type="pa
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h5 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_PruneAsync_System_DateTimeOffset_CancellationToken__remarks">Remarks</h5>
|
||||
<h5 id="OpenIddict_Core_OpenIddictAuthorizationManager_1_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