|
|
|
@ -9,6 +9,7 @@ using System.Buffers.Binary; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Immutable; |
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
using System.Globalization; |
|
|
|
using System.Linq; |
|
|
|
using System.Runtime.CompilerServices; |
|
|
|
@ -22,7 +23,6 @@ using Microsoft.Extensions.Options; |
|
|
|
using OpenIddict.Abstractions; |
|
|
|
using static OpenIddict.Abstractions.OpenIddictConstants; |
|
|
|
using SR = OpenIddict.Abstractions.OpenIddictResources; |
|
|
|
using SuppressMessageAttribute = System.Diagnostics.CodeAnalysis.SuppressMessageAttribute; |
|
|
|
|
|
|
|
#if !SUPPORTS_KEY_DERIVATION_WITH_SPECIFIED_HASH_ALGORITHM
|
|
|
|
using Org.BouncyCastle.Crypto; |
|
|
|
@ -445,7 +445,7 @@ namespace OpenIddict.Core |
|
|
|
throw new ArgumentNullException(nameof(query)); |
|
|
|
} |
|
|
|
|
|
|
|
return GetAsync((applications, state) => state(applications), query, cancellationToken); |
|
|
|
return GetAsync(static (applications, query) => query(applications), query, cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -862,7 +862,7 @@ namespace OpenIddict.Core |
|
|
|
throw new ArgumentNullException(nameof(query)); |
|
|
|
} |
|
|
|
|
|
|
|
return ListAsync((applications, state) => state(applications), query, cancellationToken); |
|
|
|
return ListAsync(static (applications, query) => query(applications), query, cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|