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:
@@ -2912,14 +2912,14 @@ Note: this method automatically excludes duplicate audiences.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_OpenIddictExtensions_SetAudiences_" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetAudiences*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetAudiences_ClaimsPrincipal_System_Nullable_IEnumerable_System_String___" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetAudiences(ClaimsPrincipal,System.Nullable{IEnumerable{System.String}})">SetAudiences(ClaimsPrincipal, Nullable<IEnumerable<String>>)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetAudiences_ClaimsPrincipal_System_Collections_Generic_IEnumerable_System_String__" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetAudiences(ClaimsPrincipal,System.Collections.Generic.IEnumerable{System.String})">SetAudiences(ClaimsPrincipal, IEnumerable<String>)</h4>
|
||||
<div class="markdown level1 summary"><p>Sets the audiences list in the claims principal.
|
||||
Note: this method automatically excludes duplicate audiences.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetAudiences(this ClaimsPrincipal principal, IEnumerable<string>? audiences)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetAudiences(this ClaimsPrincipal principal, IEnumerable<string> audiences)</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -2938,7 +2938,7 @@ Note: this method automatically excludes duplicate audiences.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="xref">System.Nullable</span><<span class="xref">IEnumerable</span><<span class="xref">System.String</span>>></td>
|
||||
<td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.String</span>></td>
|
||||
<td><span class="parametername">audiences</span></td>
|
||||
<td><p>The audiences to store.</p>
|
||||
</td>
|
||||
@@ -3447,13 +3447,13 @@ Note: this method automatically excludes duplicate audiences.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_OpenIddictExtensions_SetDestinations_" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetDestinations*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetDestinations_Claim_System_Nullable_IEnumerable_System_String___" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetDestinations(Claim,System.Nullable{IEnumerable{System.String}})">SetDestinations(Claim, Nullable<IEnumerable<String>>)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetDestinations_Claim_System_Collections_Generic_IEnumerable_System_String__" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetDestinations(Claim,System.Collections.Generic.IEnumerable{System.String})">SetDestinations(Claim, IEnumerable<String>)</h4>
|
||||
<div class="markdown level1 summary"><p>Adds specific destinations to a claim.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static Claim SetDestinations(this Claim claim, IEnumerable<string>? destinations)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static Claim SetDestinations(this Claim claim, IEnumerable<string> destinations)</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -3472,7 +3472,7 @@ Note: this method automatically excludes duplicate audiences.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="xref">System.Nullable</span><<span class="xref">IEnumerable</span><<span class="xref">System.String</span>>></td>
|
||||
<td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.String</span>></td>
|
||||
<td><span class="parametername">destinations</span></td>
|
||||
<td><p>The destinations.</p>
|
||||
</td>
|
||||
@@ -3803,14 +3803,14 @@ Note: this method automatically excludes duplicate presenters.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_OpenIddictExtensions_SetPresenters_" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetPresenters*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetPresenters_ClaimsPrincipal_System_Nullable_IEnumerable_System_String___" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetPresenters(ClaimsPrincipal,System.Nullable{IEnumerable{System.String}})">SetPresenters(ClaimsPrincipal, Nullable<IEnumerable<String>>)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetPresenters_ClaimsPrincipal_System_Collections_Generic_IEnumerable_System_String__" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetPresenters(ClaimsPrincipal,System.Collections.Generic.IEnumerable{System.String})">SetPresenters(ClaimsPrincipal, IEnumerable<String>)</h4>
|
||||
<div class="markdown level1 summary"><p>Sets the presenters list in the claims principal.
|
||||
Note: this method automatically excludes duplicate presenters.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetPresenters(this ClaimsPrincipal principal, IEnumerable<string>? presenters)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetPresenters(this ClaimsPrincipal principal, IEnumerable<string> presenters)</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -3829,7 +3829,7 @@ Note: this method automatically excludes duplicate presenters.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="xref">System.Nullable</span><<span class="xref">IEnumerable</span><<span class="xref">System.String</span>>></td>
|
||||
<td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.String</span>></td>
|
||||
<td><span class="parametername">presenters</span></td>
|
||||
<td><p>The presenters to store.</p>
|
||||
</td>
|
||||
@@ -4010,14 +4010,14 @@ Note: this method automatically excludes duplicate resources.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_OpenIddictExtensions_SetResources_" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetResources*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetResources_ClaimsPrincipal_System_Nullable_IEnumerable_System_String___" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetResources(ClaimsPrincipal,System.Nullable{IEnumerable{System.String}})">SetResources(ClaimsPrincipal, Nullable<IEnumerable<String>>)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetResources_ClaimsPrincipal_System_Collections_Generic_IEnumerable_System_String__" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetResources(ClaimsPrincipal,System.Collections.Generic.IEnumerable{System.String})">SetResources(ClaimsPrincipal, IEnumerable<String>)</h4>
|
||||
<div class="markdown level1 summary"><p>Sets the resources list in the claims principal.
|
||||
Note: this method automatically excludes duplicate resources.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetResources(this ClaimsPrincipal principal, IEnumerable<string>? resources)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetResources(this ClaimsPrincipal principal, IEnumerable<string> resources)</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -4036,7 +4036,7 @@ Note: this method automatically excludes duplicate resources.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="xref">System.Nullable</span><<span class="xref">IEnumerable</span><<span class="xref">System.String</span>>></td>
|
||||
<td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.String</span>></td>
|
||||
<td><span class="parametername">resources</span></td>
|
||||
<td><p>The resources to store.</p>
|
||||
</td>
|
||||
@@ -4166,14 +4166,14 @@ Note: this method automatically excludes duplicate scopes.</p>
|
||||
|
||||
|
||||
<a id="OpenIddict_Abstractions_OpenIddictExtensions_SetScopes_" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetScopes*"></a>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetScopes_ClaimsPrincipal_System_Nullable_IEnumerable_System_String___" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetScopes(ClaimsPrincipal,System.Nullable{IEnumerable{System.String}})">SetScopes(ClaimsPrincipal, Nullable<IEnumerable<String>>)</h4>
|
||||
<h4 id="OpenIddict_Abstractions_OpenIddictExtensions_SetScopes_ClaimsPrincipal_System_Collections_Generic_IEnumerable_System_String__" data-uid="OpenIddict.Abstractions.OpenIddictExtensions.SetScopes(ClaimsPrincipal,System.Collections.Generic.IEnumerable{System.String})">SetScopes(ClaimsPrincipal, IEnumerable<String>)</h4>
|
||||
<div class="markdown level1 summary"><p>Sets the scopes list in the claims principal.
|
||||
Note: this method automatically excludes duplicate scopes.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="decalaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetScopes(this ClaimsPrincipal principal, IEnumerable<string>? scopes)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static ClaimsPrincipal SetScopes(this ClaimsPrincipal principal, IEnumerable<string> scopes)</code></pre>
|
||||
</div>
|
||||
<h5 class="parameters">Parameters</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
@@ -4192,7 +4192,7 @@ Note: this method automatically excludes duplicate scopes.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="xref">System.Nullable</span><<span class="xref">IEnumerable</span><<span class="xref">System.String</span>>></td>
|
||||
<td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.String</span>></td>
|
||||
<td><span class="parametername">scopes</span></td>
|
||||
<td><p>The scopes to store.</p>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user