2021-01-18 02:24:47 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<!--[if IE]><![endif]-->
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
<title>Class OpenIddictEntityFrameworkAuthorizationStore<TAuthorization, TApplication, TToken, TContext, TKey>
|
|
|
|
|
</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
|
<meta name="title" content="Class OpenIddictEntityFrameworkAuthorizationStore<TAuthorization, TApplication, TToken, TContext, TKey>
|
|
|
|
|
">
|
|
|
|
|
<meta name="generator" content="docfx 2.56.6.0">
|
|
|
|
|
|
|
|
|
|
<link rel="shortcut icon" href="../images/favicon.ico">
|
|
|
|
|
<link rel="stylesheet" href="../styles/docfx.vendor.css">
|
|
|
|
|
<link rel="stylesheet" href="../styles/docfx.css">
|
|
|
|
|
<link rel="stylesheet" href="../styles/main.css">
|
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
|
|
|
|
<meta property="docfx:navrel" content="../toc.html">
|
|
|
|
|
<meta property="docfx:tocrel" content="toc.html">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head> <body data-spy="scroll" data-target="#affix" data-offset="120">
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<header>
|
|
|
|
|
|
|
|
|
|
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="navbar-header">
|
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<a class="navbar-brand" href="../index.html">
|
|
|
|
|
<img id="logo" class="svg" src="../images/logo.png" alt="">
|
|
|
|
|
</a> </div>
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
|
|
|
<form class="navbar-form navbar-right" role="search" id="search">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<div class="subnav navbar navbar-default">
|
|
|
|
|
<div class="container hide-when-search" id="breadcrumb">
|
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
|
<li></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
<div role="main" class="container body-content hide-when-search">
|
|
|
|
|
|
|
|
|
|
<div class="sidenav hide-when-search">
|
|
|
|
|
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
|
|
|
|
<div class="sidetoggle collapse" id="sidetoggle">
|
|
|
|
|
<div id="sidetoc"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="article row grid-right">
|
|
|
|
|
<div class="col-md-10">
|
|
|
|
|
<article class="content wrap" id="_content" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h1 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5" class="text-break">Class OpenIddictEntityFrameworkAuthorizationStore<TAuthorization, TApplication, TToken, TContext, TKey>
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="markdown level0 summary"><p>Provides methods allowing to manage the authorizations stored in a database.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level0 conceptual"></div>
|
|
|
|
|
<div class="inheritance">
|
|
|
|
|
<h5>Inheritance</h5>
|
|
|
|
|
<div class="level0"><span class="xref">System.Object</span></div>
|
|
|
|
|
<div class="level1"><span class="xref">OpenIddictEntityFrameworkAuthorizationStore<TAuthorization, TApplication, TToken, TContext, TKey></span></div>
|
|
|
|
|
<div class="level2"><a class="xref" href="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore-1.html">OpenIddictEntityFrameworkAuthorizationStore<TContext></a></div>
|
|
|
|
|
</div>
|
|
|
|
|
<h6><strong>Namespace</strong>: <a class="xref" href="OpenIddict.EntityFramework.html">OpenIddict.EntityFramework</a></h6>
|
|
|
|
|
<h6><strong>Assembly</strong>: cs.temp.dll.dll</h6>
|
|
|
|
|
<h5 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_syntax">Syntax</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public class OpenIddictEntityFrameworkAuthorizationStore<TAuthorization, TApplication, TToken, TContext, TKey> : IOpenIddictAuthorizationStore<TAuthorization> where TAuthorization : OpenIddictEntityFrameworkAuthorization<TKey, TApplication, TToken> where TApplication : OpenIddictEntityFrameworkApplication<TKey, TAuthorization, TToken> where TToken : OpenIddictEntityFrameworkToken<TKey, TApplication, TAuthorization> where TContext : DbContext where TKey : IEquatable<TKey></code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TAuthorization</span></td>
|
|
|
|
|
<td><p>The type of the Authorization entity.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TApplication</span></td>
|
|
|
|
|
<td><p>The type of the Application entity.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TToken</span></td>
|
|
|
|
|
<td><p>The type of the Token entity.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TContext</span></td>
|
|
|
|
|
<td><p>The type of the Entity Framework database context.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TKey</span></td>
|
|
|
|
|
<td><p>The type of the entity primary keys.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h3 id="constructors">Constructors
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5__ctor_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.#ctor*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5__ctor_IMemoryCache__3_IOptionsMonitor_OpenIddict_EntityFramework_OpenIddictEntityFrameworkOptions__" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.#ctor(IMemoryCache,`3,IOptionsMonitor{OpenIddict.EntityFramework.OpenIddictEntityFrameworkOptions})">OpenIddictEntityFrameworkAuthorizationStore(IMemoryCache, TContext, IOptionsMonitor<OpenIddictEntityFrameworkOptions>)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public OpenIddictEntityFrameworkAuthorizationStore(IMemoryCache cache, TContext context, IOptionsMonitor<OpenIddictEntityFrameworkOptions> options)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">IMemoryCache</span></td>
|
|
|
|
|
<td><span class="parametername">cache</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TContext</span></td>
|
|
|
|
|
<td><span class="parametername">context</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">IOptionsMonitor</span><<a class="xref" href="OpenIddict.EntityFramework.OpenIddictEntityFrameworkOptions.html">OpenIddictEntityFrameworkOptions</a>></td>
|
|
|
|
|
<td><span class="parametername">options</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h3 id="properties">Properties
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Cache_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Cache*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Cache" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Cache">Cache</h4>
|
|
|
|
|
<div class="markdown level1 summary"><p>Gets the memory cache associated with the current store.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">protected IMemoryCache Cache { get; }</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">IMemoryCache</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Context_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Context*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Context" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Context">Context</h4>
|
|
|
|
|
<div class="markdown level1 summary"><p>Gets the database context associated with the current store.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">protected TContext Context { get; }</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TContext</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Options_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Options*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_Options" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.Options">Options</h4>
|
|
|
|
|
<div class="markdown level1 summary"><p>Gets the options associated with the current store.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">protected IOptionsMonitor<OpenIddictEntityFrameworkOptions> Options { get; }</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">IOptionsMonitor</span><<a class="xref" href="OpenIddict.EntityFramework.OpenIddictEntityFrameworkOptions.html">OpenIddictEntityFrameworkOptions</a>></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h3 id="methods">Methods
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ConvertIdentifierFromString_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ConvertIdentifierFromString*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ConvertIdentifierFromString_System_String_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ConvertIdentifierFromString(System.String)">ConvertIdentifierFromString(String)</h4>
|
|
|
|
|
<div class="markdown level1 summary"><p>Converts the provided identifier to a strongly typed key object.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual TKey ConvertIdentifierFromString(string identifier)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">identifier</span></td>
|
|
|
|
|
<td><p>The identifier to convert.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TKey</span></td>
|
|
|
|
|
<td><p>An instance of <code data-dev-comment-type="typeparamref" class="typeparamref">TKey</code> representing the provided identifier.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ConvertIdentifierToString_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ConvertIdentifierToString*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ConvertIdentifierToString__4_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ConvertIdentifierToString(`4)">ConvertIdentifierToString(TKey)</h4>
|
|
|
|
|
<div class="markdown level1 summary"><p>Converts the provided identifier to its string representation.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual string ConvertIdentifierToString(TKey identifier)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TKey</span></td>
|
|
|
|
|
<td><span class="parametername">identifier</span></td>
|
|
|
|
|
<td><p>The identifier to convert.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><p>A <span class="xref">System.String</span> representation of the provided identifier.</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CountAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CountAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CountAsync_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CountAsync(CancellationToken)">CountAsync(CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<long> CountAsync(CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.Int64</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CountAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CountAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CountAsync__1_System_Func_IQueryable__0__IQueryable___0___CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CountAsync``1(System.Func{IQueryable{`0},IQueryable{``0}},CancellationToken)">CountAsync<TResult>(Func<IQueryable<TAuthorization>, IQueryable<TResult>>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<long> CountAsync<TResult>(Func<IQueryable<TAuthorization>, IQueryable<TResult>> query, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</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="parametername">query</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.Int64</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TResult</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CreateAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CreateAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_CreateAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.CreateAsync(`0,CancellationToken)">CreateAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask CreateAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_DeleteAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.DeleteAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_DeleteAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.DeleteAsync(`0,CancellationToken)">DeleteAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask DeleteAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_System_String_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync(System.String,System.String,CancellationToken)">FindAsync(String, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindAsync(string subject, string client, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">client</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_System_String_System_String_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync(System.String,System.String,System.String,CancellationToken)">FindAsync(String, String, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindAsync(string subject, string client, string status, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">client</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">status</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_System_String_System_String_System_String_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync(System.String,System.String,System.String,System.String,CancellationToken)">FindAsync(String, String, String, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindAsync(string subject, string client, string status, string type, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">client</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">status</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">type</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindAsync_System_String_System_String_System_String_System_String_ImmutableArray_System_String__CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindAsync(System.String,System.String,System.String,System.String,ImmutableArray{System.String},CancellationToken)">FindAsync(String, String, String, String, ImmutableArray<String>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindAsync(string subject, string client, string status, string type, ImmutableArray<string> scopes, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">client</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">status</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">type</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">ImmutableArray</span><<span class="xref">System.String</span>></td>
|
|
|
|
|
<td><span class="parametername">scopes</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindByApplicationIdAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindByApplicationIdAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindByApplicationIdAsync_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindByApplicationIdAsync(System.String,CancellationToken)">FindByApplicationIdAsync(String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindByApplicationIdAsync(string identifier, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">identifier</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindByIdAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindByIdAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindByIdAsync_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindByIdAsync(System.String,CancellationToken)">FindByIdAsync(String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<TAuthorization> FindByIdAsync(string identifier, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">identifier</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindBySubjectAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindBySubjectAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_FindBySubjectAsync_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.FindBySubjectAsync(System.String,CancellationToken)">FindBySubjectAsync(String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> FindBySubjectAsync(string subject, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetApplicationIdAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetApplicationIdAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetApplicationIdAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetApplicationIdAsync(`0,CancellationToken)">GetApplicationIdAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<string> GetApplicationIdAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.String</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetAsync__2_System_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetAsync``2(System.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"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<TResult> GetAsync<TState, TResult>(Func<IQueryable<TAuthorization>, TState, IQueryable<TResult>> query, TState state, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</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="parametername">query</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TState</span></td>
|
|
|
|
|
<td><span class="parametername">state</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><TResult></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TState</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TResult</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetCreationDateAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetCreationDateAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetCreationDateAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetCreationDateAsync(`0,CancellationToken)">GetCreationDateAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<DateTimeOffset?> GetCreationDateAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.Nullable</span><<span class="xref">System.DateTimeOffset</span>>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetIdAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetIdAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetIdAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetIdAsync(`0,CancellationToken)">GetIdAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<string> GetIdAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.String</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetPropertiesAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetPropertiesAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetPropertiesAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetPropertiesAsync(`0,CancellationToken)">GetPropertiesAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<ImmutableDictionary<string, JsonElement>> GetPropertiesAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">ImmutableDictionary</span><<span class="xref">System.String</span>, <span class="xref">JsonElement</span>>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetScopesAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetScopesAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetScopesAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetScopesAsync(`0,CancellationToken)">GetScopesAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<ImmutableArray<string>> GetScopesAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">ImmutableArray</span><<span class="xref">System.String</span>>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetStatusAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetStatusAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetStatusAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetStatusAsync(`0,CancellationToken)">GetStatusAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<string> GetStatusAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.String</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetSubjectAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetSubjectAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetSubjectAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetSubjectAsync(`0,CancellationToken)">GetSubjectAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<string> GetSubjectAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.String</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetTypeAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetTypeAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_GetTypeAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.GetTypeAsync(`0,CancellationToken)">GetTypeAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<string> GetTypeAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><<span class="xref">System.String</span>></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_InstantiateAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.InstantiateAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_InstantiateAsync_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.InstantiateAsync(CancellationToken)">InstantiateAsync(CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask<TAuthorization> InstantiateAsync(CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ListAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ListAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ListAsync_System_Nullable_System_Int32__System_Nullable_System_Int32__CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ListAsync(System.Nullable{System.Int32},System.Nullable{System.Int32},CancellationToken)">ListAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TAuthorization> ListAsync(int? count, int? offset, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.Nullable</span><<span class="xref">System.Int32</span>></td>
|
|
|
|
|
<td><span class="parametername">count</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.Nullable</span><<span class="xref">System.Int32</span>></td>
|
|
|
|
|
<td><span class="parametername">offset</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TAuthorization></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ListAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ListAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_ListAsync__2_System_Func_IQueryable__0____0_IQueryable___1_____0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.ListAsync``2(System.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"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual IAsyncEnumerable<TResult> ListAsync<TState, TResult>(Func<IQueryable<TAuthorization>, TState, IQueryable<TResult>> query, TState state, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</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="parametername">query</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TState</span></td>
|
|
|
|
|
<td><span class="parametername">state</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">IAsyncEnumerable</span><TResult></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TState</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="parametername">TResult</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_PruneAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.PruneAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_PruneAsync_System_DateTimeOffset_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.PruneAsync(System.DateTimeOffset,CancellationToken)">PruneAsync(DateTimeOffset, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask PruneAsync(DateTimeOffset threshold, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.DateTimeOffset</span></td>
|
|
|
|
|
<td><span class="parametername">threshold</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetApplicationIdAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetApplicationIdAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetApplicationIdAsync__0_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetApplicationIdAsync(`0,System.String,CancellationToken)">SetApplicationIdAsync(TAuthorization, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetApplicationIdAsync(TAuthorization authorization, string identifier, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">identifier</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetCreationDateAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetCreationDateAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetCreationDateAsync__0_System_Nullable_System_DateTimeOffset__CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetCreationDateAsync(`0,System.Nullable{System.DateTimeOffset},CancellationToken)">SetCreationDateAsync(TAuthorization, Nullable<DateTimeOffset>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetCreationDateAsync(TAuthorization authorization, DateTimeOffset? date, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.Nullable</span><<span class="xref">System.DateTimeOffset</span>></td>
|
|
|
|
|
<td><span class="parametername">date</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetPropertiesAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetPropertiesAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetPropertiesAsync__0_ImmutableDictionary_System_String_JsonElement__CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetPropertiesAsync(`0,ImmutableDictionary{System.String,JsonElement},CancellationToken)">SetPropertiesAsync(TAuthorization, ImmutableDictionary<String, JsonElement>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetPropertiesAsync(TAuthorization authorization, ImmutableDictionary<string, JsonElement> properties, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">ImmutableDictionary</span><<span class="xref">System.String</span>, <span class="xref">JsonElement</span>></td>
|
|
|
|
|
<td><span class="parametername">properties</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetScopesAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetScopesAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetScopesAsync__0_ImmutableArray_System_String__CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetScopesAsync(`0,ImmutableArray{System.String},CancellationToken)">SetScopesAsync(TAuthorization, ImmutableArray<String>, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetScopesAsync(TAuthorization authorization, ImmutableArray<string> scopes, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">ImmutableArray</span><<span class="xref">System.String</span>></td>
|
|
|
|
|
<td><span class="parametername">scopes</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetStatusAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetStatusAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetStatusAsync__0_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetStatusAsync(`0,System.String,CancellationToken)">SetStatusAsync(TAuthorization, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetStatusAsync(TAuthorization authorization, string status, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">status</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetSubjectAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetSubjectAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetSubjectAsync__0_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetSubjectAsync(`0,System.String,CancellationToken)">SetSubjectAsync(TAuthorization, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetSubjectAsync(TAuthorization authorization, string subject, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">subject</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetTypeAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetTypeAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_SetTypeAsync__0_System_String_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.SetTypeAsync(`0,System.String,CancellationToken)">SetTypeAsync(TAuthorization, String, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask SetTypeAsync(TAuthorization authorization, string type, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">System.String</span></td>
|
|
|
|
|
<td><span class="parametername">type</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_UpdateAsync_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.UpdateAsync*"></a>
|
|
|
|
|
<h4 id="OpenIddict_EntityFramework_OpenIddictEntityFrameworkAuthorizationStore_5_UpdateAsync__0_CancellationToken_" data-uid="OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStore`5.UpdateAsync(`0,CancellationToken)">UpdateAsync(TAuthorization, CancellationToken)</h4>
|
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
|
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
|
<h5 class="decalaration">Declaration</h5>
|
|
|
|
|
<div class="codewrapper">
|
|
|
|
|
<pre><code class="lang-csharp hljs">public virtual ValueTask UpdateAsync(TAuthorization authorization, CancellationToken cancellationToken)</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<h5 class="parameters">Parameters</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">TAuthorization</span></td>
|
|
|
|
|
<td><span class="parametername">authorization</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><span class="xref">CancellationToken</span></td>
|
|
|
|
|
<td><span class="parametername">cancellationToken</span></td>
|
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<h5 class="returns">Returns</h5>
|
|
|
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
2021-01-24 16:39:56 +08:00
|
|
|
|
<td><span class="xref">ValueTask</span></td>
|
2021-01-18 02:24:47 +08:00
|
|
|
|
<td></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
|
|
|
<div class="sideaffix">
|
|
|
|
|
<div class="contribution">
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
|
|
|
<h5>In This Article</h5>
|
|
|
|
|
<div></div>
|
|
|
|
|
</nav>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<div class="grad-bottom"></div>
|
|
|
|
|
<div class="footer">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<span class="pull-right">
|
|
|
|
|
<a href="#top">Back to top</a>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span>Generated by <strong>DocFX</strong></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../styles/docfx.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../styles/main.js"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|