diff --git a/Directory.Build.props b/Directory.Build.props
index f6ee156f..b2d6177a 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -9,6 +9,7 @@
$(NoWarn);CS1591;NU5118;NU5128
true
enable
+ enable
true
portable
snupkg
diff --git a/OpenIddict.sln b/OpenIddict.sln
index c294b15c..2e4a7164 100644
--- a/OpenIddict.sln
+++ b/OpenIddict.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.28606.126
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31710.8
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D544447C-D701-46BB-9A5B-C76C612A596B}"
EndProject
diff --git a/samples/Mvc.Client/Controllers/HomeController.cs b/samples/Mvc.Client/Controllers/HomeController.cs
index 1941076b..5dbe668c 100644
--- a/samples/Mvc.Client/Controllers/HomeController.cs
+++ b/samples/Mvc.Client/Controllers/HomeController.cs
@@ -1,8 +1,4 @@
-using System;
-using System.Net.Http;
-using System.Net.Http.Headers;
-using System.Threading;
-using System.Threading.Tasks;
+using System.Net.Http.Headers;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
diff --git a/samples/Mvc.Client/Program.cs b/samples/Mvc.Client/Program.cs
index a04fccd4..c11b1115 100644
--- a/samples/Mvc.Client/Program.cs
+++ b/samples/Mvc.Client/Program.cs
@@ -1,7 +1,4 @@
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.Extensions.Hosting;
-
-namespace Mvc.Client;
+namespace Mvc.Client;
public static class Program
{
diff --git a/samples/Mvc.Client/Startup.cs b/samples/Mvc.Client/Startup.cs
index 3860f424..bc07e9ad 100644
--- a/samples/Mvc.Client/Startup.cs
+++ b/samples/Mvc.Client/Startup.cs
@@ -1,10 +1,6 @@
-using System;
-using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
-using Microsoft.AspNetCore.Builder;
-using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
namespace Mvc.Client;
diff --git a/shared/OpenIddict.Extensions/Helpers/OpenIddictHelpers.cs b/shared/OpenIddict.Extensions/Helpers/OpenIddictHelpers.cs
index 5b2826e5..d3aa75ab 100644
--- a/shared/OpenIddict.Extensions/Helpers/OpenIddictHelpers.cs
+++ b/shared/OpenIddict.Extensions/Helpers/OpenIddictHelpers.cs
@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
-
-namespace OpenIddict.Extensions;
+namespace OpenIddict.Extensions;
///
/// Exposes common helpers used by the OpenIddict assemblies.
diff --git a/shared/OpenIddict.Extensions/OpenIddict.Extensions.csproj b/shared/OpenIddict.Extensions/OpenIddict.Extensions.csproj
index da0a368f..76e6baf4 100644
--- a/shared/OpenIddict.Extensions/OpenIddict.Extensions.csproj
+++ b/shared/OpenIddict.Extensions/OpenIddict.Extensions.csproj
@@ -9,4 +9,10 @@
+
+
+
+
+
+
diff --git a/src/OpenIddict.Abstractions/Caches/IOpenIddictApplicationCache.cs b/src/OpenIddict.Abstractions/Caches/IOpenIddictApplicationCache.cs
index e961b181..74ec738c 100644
--- a/src/OpenIddict.Abstractions/Caches/IOpenIddictApplicationCache.cs
+++ b/src/OpenIddict.Abstractions/Caches/IOpenIddictApplicationCache.cs
@@ -4,10 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
-using System.Threading;
-using System.Threading.Tasks;
-
namespace OpenIddict.Abstractions;
///
diff --git a/src/OpenIddict.Abstractions/Caches/IOpenIddictAuthorizationCache.cs b/src/OpenIddict.Abstractions/Caches/IOpenIddictAuthorizationCache.cs
index 5af53f6b..a397ef6d 100644
--- a/src/OpenIddict.Abstractions/Caches/IOpenIddictAuthorizationCache.cs
+++ b/src/OpenIddict.Abstractions/Caches/IOpenIddictAuthorizationCache.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Caches/IOpenIddictScopeCache.cs b/src/OpenIddict.Abstractions/Caches/IOpenIddictScopeCache.cs
index 0eb2d79a..48921ef7 100644
--- a/src/OpenIddict.Abstractions/Caches/IOpenIddictScopeCache.cs
+++ b/src/OpenIddict.Abstractions/Caches/IOpenIddictScopeCache.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Caches/IOpenIddictTokenCache.cs b/src/OpenIddict.Abstractions/Caches/IOpenIddictTokenCache.cs
index 976d6ee3..7bba6bc3 100644
--- a/src/OpenIddict.Abstractions/Caches/IOpenIddictTokenCache.cs
+++ b/src/OpenIddict.Abstractions/Caches/IOpenIddictTokenCache.cs
@@ -4,10 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
-using System.Threading;
-using System.Threading.Tasks;
-
namespace OpenIddict.Abstractions;
///
diff --git a/src/OpenIddict.Abstractions/Descriptors/OpenIddictApplicationDescriptor.cs b/src/OpenIddict.Abstractions/Descriptors/OpenIddictApplicationDescriptor.cs
index c713f1ce..46ba81e8 100644
--- a/src/OpenIddict.Abstractions/Descriptors/OpenIddictApplicationDescriptor.cs
+++ b/src/OpenIddict.Abstractions/Descriptors/OpenIddictApplicationDescriptor.cs
@@ -1,6 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Globalization;
+using System.Globalization;
using System.Text.Json;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Descriptors/OpenIddictAuthorizationDescriptor.cs b/src/OpenIddict.Abstractions/Descriptors/OpenIddictAuthorizationDescriptor.cs
index 19b22233..e182dea7 100644
--- a/src/OpenIddict.Abstractions/Descriptors/OpenIddictAuthorizationDescriptor.cs
+++ b/src/OpenIddict.Abstractions/Descriptors/OpenIddictAuthorizationDescriptor.cs
@@ -1,6 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Security.Claims;
+using System.Security.Claims;
using System.Text.Json;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Descriptors/OpenIddictScopeDescriptor.cs b/src/OpenIddict.Abstractions/Descriptors/OpenIddictScopeDescriptor.cs
index 131ae66d..dd56f391 100644
--- a/src/OpenIddict.Abstractions/Descriptors/OpenIddictScopeDescriptor.cs
+++ b/src/OpenIddict.Abstractions/Descriptors/OpenIddictScopeDescriptor.cs
@@ -1,6 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Globalization;
+using System.Globalization;
using System.Text.Json;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs b/src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs
index 149a75fd..adb999be 100644
--- a/src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs
+++ b/src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs
@@ -1,6 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Security.Claims;
+using System.Security.Claims;
using System.Text.Json;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Managers/IOpenIddictApplicationManager.cs b/src/OpenIddict.Abstractions/Managers/IOpenIddictApplicationManager.cs
index 2d9e682a..3e34f989 100644
--- a/src/OpenIddict.Abstractions/Managers/IOpenIddictApplicationManager.cs
+++ b/src/OpenIddict.Abstractions/Managers/IOpenIddictApplicationManager.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Managers/IOpenIddictAuthorizationManager.cs b/src/OpenIddict.Abstractions/Managers/IOpenIddictAuthorizationManager.cs
index 94ae115c..92513bb5 100644
--- a/src/OpenIddict.Abstractions/Managers/IOpenIddictAuthorizationManager.cs
+++ b/src/OpenIddict.Abstractions/Managers/IOpenIddictAuthorizationManager.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
using System.Security.Claims;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Managers/IOpenIddictScopeManager.cs b/src/OpenIddict.Abstractions/Managers/IOpenIddictScopeManager.cs
index c430d041..8dbb5459 100644
--- a/src/OpenIddict.Abstractions/Managers/IOpenIddictScopeManager.cs
+++ b/src/OpenIddict.Abstractions/Managers/IOpenIddictScopeManager.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Managers/IOpenIddictTokenManager.cs b/src/OpenIddict.Abstractions/Managers/IOpenIddictTokenManager.cs
index 4f7d82fa..fefe740e 100644
--- a/src/OpenIddict.Abstractions/Managers/IOpenIddictTokenManager.cs
+++ b/src/OpenIddict.Abstractions/Managers/IOpenIddictTokenManager.cs
@@ -4,14 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/OpenIddict.Abstractions.csproj b/src/OpenIddict.Abstractions/OpenIddict.Abstractions.csproj
index 9d6c1878..9dcbe0a3 100644
--- a/src/OpenIddict.Abstractions/OpenIddict.Abstractions.csproj
+++ b/src/OpenIddict.Abstractions/OpenIddict.Abstractions.csproj
@@ -35,4 +35,10 @@
+
+
+
+
+
+
diff --git a/src/OpenIddict.Abstractions/OpenIddictBuilder.cs b/src/OpenIddict.Abstractions/OpenIddictBuilder.cs
index f19a615c..2cb4ec12 100644
--- a/src/OpenIddict.Abstractions/OpenIddictBuilder.cs
+++ b/src/OpenIddict.Abstractions/OpenIddictBuilder.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Abstractions/OpenIddictExceptions.cs b/src/OpenIddict.Abstractions/OpenIddictExceptions.cs
index 8de4553f..6497770e 100644
--- a/src/OpenIddict.Abstractions/OpenIddictExceptions.cs
+++ b/src/OpenIddict.Abstractions/OpenIddictExceptions.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Immutable;
+using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/OpenIddictExtensions.cs b/src/OpenIddict.Abstractions/OpenIddictExtensions.cs
index 00e343c4..1d30e8c3 100644
--- a/src/OpenIddict.Abstractions/OpenIddictExtensions.cs
+++ b/src/OpenIddict.Abstractions/OpenIddictExtensions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-
namespace Microsoft.Extensions.DependencyInjection;
///
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictConverter.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictConverter.cs
index eee01846..a89704b7 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictConverter.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictConverter.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Text.Json;
using System.Text.Json.Serialization;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictExtensions.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictExtensions.cs
index 2e1ae6e9..9224898e 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictExtensions.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictExtensions.cs
@@ -4,20 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
using Microsoft.Extensions.Primitives;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictMessage.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictMessage.cs
index 6ea18b19..6a1f5573 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictMessage.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictMessage.cs
@@ -4,18 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.Extensions.Primitives;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictParameter.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictParameter.cs
index 038c2815..2f236f8a 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictParameter.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictParameter.cs
@@ -4,17 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictRequest.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictRequest.cs
index eaff6910..c41e451f 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictRequest.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictRequest.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using System.Diagnostics;
using System.Text.Json;
using System.Text.Json.Serialization;
diff --git a/src/OpenIddict.Abstractions/Primitives/OpenIddictResponse.cs b/src/OpenIddict.Abstractions/Primitives/OpenIddictResponse.cs
index 442a1381..12671a6e 100644
--- a/src/OpenIddict.Abstractions/Primitives/OpenIddictResponse.cs
+++ b/src/OpenIddict.Abstractions/Primitives/OpenIddictResponse.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using System.Diagnostics;
using System.Text.Json;
using System.Text.Json.Serialization;
diff --git a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictApplicationStoreResolver.cs b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictApplicationStoreResolver.cs
index 1c2b0aa1..667ec472 100644
--- a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictApplicationStoreResolver.cs
+++ b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictApplicationStoreResolver.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace OpenIddict.Abstractions;
+namespace OpenIddict.Abstractions;
///
/// Exposes a method allowing to resolve an application store.
diff --git a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictAuthorizationStoreResolver.cs b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictAuthorizationStoreResolver.cs
index bdab1c41..f4c5d06a 100644
--- a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictAuthorizationStoreResolver.cs
+++ b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictAuthorizationStoreResolver.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace OpenIddict.Abstractions;
+namespace OpenIddict.Abstractions;
///
/// Exposes a method allowing to resolve an authorization store.
diff --git a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictScopeStoreResolver.cs b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictScopeStoreResolver.cs
index c40ab517..1b15ee7d 100644
--- a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictScopeStoreResolver.cs
+++ b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictScopeStoreResolver.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace OpenIddict.Abstractions;
+namespace OpenIddict.Abstractions;
///
/// Exposes a method allowing to resolve a scope store.
diff --git a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictTokenStoreResolver.cs b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictTokenStoreResolver.cs
index aa31f2d1..2d46cb92 100644
--- a/src/OpenIddict.Abstractions/Resolvers/IOpenIddictTokenStoreResolver.cs
+++ b/src/OpenIddict.Abstractions/Resolvers/IOpenIddictTokenStoreResolver.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace OpenIddict.Abstractions;
+namespace OpenIddict.Abstractions;
///
/// Exposes a method allowing to resolve a token store.
diff --git a/src/OpenIddict.Abstractions/Stores/IOpenIddictApplicationStore.cs b/src/OpenIddict.Abstractions/Stores/IOpenIddictApplicationStore.cs
index c71ca44a..224cefeb 100644
--- a/src/OpenIddict.Abstractions/Stores/IOpenIddictApplicationStore.cs
+++ b/src/OpenIddict.Abstractions/Stores/IOpenIddictApplicationStore.cs
@@ -4,14 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Stores/IOpenIddictAuthorizationStore.cs b/src/OpenIddict.Abstractions/Stores/IOpenIddictAuthorizationStore.cs
index 613a1b67..d766517c 100644
--- a/src/OpenIddict.Abstractions/Stores/IOpenIddictAuthorizationStore.cs
+++ b/src/OpenIddict.Abstractions/Stores/IOpenIddictAuthorizationStore.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Stores/IOpenIddictScopeStore.cs b/src/OpenIddict.Abstractions/Stores/IOpenIddictScopeStore.cs
index 688d728d..a2f5c107 100644
--- a/src/OpenIddict.Abstractions/Stores/IOpenIddictScopeStore.cs
+++ b/src/OpenIddict.Abstractions/Stores/IOpenIddictScopeStore.cs
@@ -4,14 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Abstractions/Stores/IOpenIddictTokenStore.cs b/src/OpenIddict.Abstractions/Stores/IOpenIddictTokenStore.cs
index 4a747f8d..0cbfd1cb 100644
--- a/src/OpenIddict.Abstractions/Stores/IOpenIddictTokenStore.cs
+++ b/src/OpenIddict.Abstractions/Stores/IOpenIddictTokenStore.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.Linq;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
namespace OpenIddict.Abstractions;
diff --git a/src/OpenIddict.Core/Caches/OpenIddictApplicationCache.cs b/src/OpenIddict.Core/Caches/OpenIddictApplicationCache.cs
index 5e6addbb..2143e600 100644
--- a/src/OpenIddict.Core/Caches/OpenIddictApplicationCache.cs
+++ b/src/OpenIddict.Core/Caches/OpenIddictApplicationCache.cs
@@ -4,18 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Caches/OpenIddictAuthorizationCache.cs b/src/OpenIddict.Core/Caches/OpenIddictAuthorizationCache.cs
index e35ff7a6..df9794aa 100644
--- a/src/OpenIddict.Core/Caches/OpenIddictAuthorizationCache.cs
+++ b/src/OpenIddict.Core/Caches/OpenIddictAuthorizationCache.cs
@@ -4,18 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Caches/OpenIddictScopeCache.cs b/src/OpenIddict.Core/Caches/OpenIddictScopeCache.cs
index 0b5b0e0f..48f507e4 100644
--- a/src/OpenIddict.Core/Caches/OpenIddictScopeCache.cs
+++ b/src/OpenIddict.Core/Caches/OpenIddictScopeCache.cs
@@ -4,19 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.Linq;
using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Caches/OpenIddictTokenCache.cs b/src/OpenIddict.Core/Caches/OpenIddictTokenCache.cs
index 38854f4c..f9dbc056 100644
--- a/src/OpenIddict.Core/Caches/OpenIddictTokenCache.cs
+++ b/src/OpenIddict.Core/Caches/OpenIddictTokenCache.cs
@@ -4,18 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Managers/OpenIddictApplicationManager.cs b/src/OpenIddict.Core/Managers/OpenIddictApplicationManager.cs
index 945ff8fc..4b8c67bd 100644
--- a/src/OpenIddict.Core/Managers/OpenIddictApplicationManager.cs
+++ b/src/OpenIddict.Core/Managers/OpenIddictApplicationManager.cs
@@ -4,25 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
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;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
#if !SUPPORTS_KEY_DERIVATION_WITH_SPECIFIED_HASH_ALGORITHM
using Org.BouncyCastle.Crypto;
diff --git a/src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs b/src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs
index ef0bd904..d8544039 100644
--- a/src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs
+++ b/src/OpenIddict.Core/Managers/OpenIddictAuthorizationManager.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Claims;
using System.Text;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Abstractions.OpenIddictExceptions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Managers/OpenIddictScopeManager.cs b/src/OpenIddict.Core/Managers/OpenIddictScopeManager.cs
index fecf4dd8..6a26c8c5 100644
--- a/src/OpenIddict.Core/Managers/OpenIddictScopeManager.cs
+++ b/src/OpenIddict.Core/Managers/OpenIddictScopeManager.cs
@@ -4,22 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Managers/OpenIddictTokenManager.cs b/src/OpenIddict.Core/Managers/OpenIddictTokenManager.cs
index f70484b6..c7d8c334 100644
--- a/src/OpenIddict.Core/Managers/OpenIddictTokenManager.cs
+++ b/src/OpenIddict.Core/Managers/OpenIddictTokenManager.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Abstractions.OpenIddictExceptions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/OpenIddict.Core.csproj b/src/OpenIddict.Core/OpenIddict.Core.csproj
index c2f8755d..3e0a9a8f 100644
--- a/src/OpenIddict.Core/OpenIddict.Core.csproj
+++ b/src/OpenIddict.Core/OpenIddict.Core.csproj
@@ -33,4 +33,10 @@
+
+
+
+
+
+
diff --git a/src/OpenIddict.Core/OpenIddictCoreBuilder.cs b/src/OpenIddict.Core/OpenIddictCoreBuilder.cs
index 3e3a270c..30464030 100644
--- a/src/OpenIddict.Core/OpenIddictCoreBuilder.cs
+++ b/src/OpenIddict.Core/OpenIddictCoreBuilder.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using Microsoft.Extensions.DependencyInjection.Extensions;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Core/OpenIddictCoreExtensions.cs b/src/OpenIddict.Core/OpenIddictCoreExtensions.cs
index e8e9a12f..6ff18082 100644
--- a/src/OpenIddict.Core/OpenIddictCoreExtensions.cs
+++ b/src/OpenIddict.Core/OpenIddictCoreExtensions.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Core/OpenIddictCoreOptions.cs b/src/OpenIddict.Core/OpenIddictCoreOptions.cs
index e11f8075..18da6890 100644
--- a/src/OpenIddict.Core/OpenIddictCoreOptions.cs
+++ b/src/OpenIddict.Core/OpenIddictCoreOptions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-
namespace OpenIddict.Core;
///
diff --git a/src/OpenIddict.Core/Resolvers/OpenIddictApplicationStoreResolver.cs b/src/OpenIddict.Core/Resolvers/OpenIddictApplicationStoreResolver.cs
index e3ccbb4f..0d5ae13c 100644
--- a/src/OpenIddict.Core/Resolvers/OpenIddictApplicationStoreResolver.cs
+++ b/src/OpenIddict.Core/Resolvers/OpenIddictApplicationStoreResolver.cs
@@ -1,7 +1,4 @@
-using System;
-using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
+using Microsoft.Extensions.DependencyInjection;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Resolvers/OpenIddictAuthorizationStoreResolver.cs b/src/OpenIddict.Core/Resolvers/OpenIddictAuthorizationStoreResolver.cs
index ca51833e..ae7f0193 100644
--- a/src/OpenIddict.Core/Resolvers/OpenIddictAuthorizationStoreResolver.cs
+++ b/src/OpenIddict.Core/Resolvers/OpenIddictAuthorizationStoreResolver.cs
@@ -1,7 +1,4 @@
-using System;
-using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
+using Microsoft.Extensions.DependencyInjection;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Resolvers/OpenIddictScopeStoreResolver.cs b/src/OpenIddict.Core/Resolvers/OpenIddictScopeStoreResolver.cs
index 9cf616a2..615d661d 100644
--- a/src/OpenIddict.Core/Resolvers/OpenIddictScopeStoreResolver.cs
+++ b/src/OpenIddict.Core/Resolvers/OpenIddictScopeStoreResolver.cs
@@ -1,7 +1,4 @@
-using System;
-using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
+using Microsoft.Extensions.DependencyInjection;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.Core/Resolvers/OpenIddictTokenStoreResolver.cs b/src/OpenIddict.Core/Resolvers/OpenIddictTokenStoreResolver.cs
index 6547cd8a..0aa1ebfb 100644
--- a/src/OpenIddict.Core/Resolvers/OpenIddictTokenStoreResolver.cs
+++ b/src/OpenIddict.Core/Resolvers/OpenIddictTokenStoreResolver.cs
@@ -1,7 +1,4 @@
-using System;
-using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
+using Microsoft.Extensions.DependencyInjection;
namespace OpenIddict.Core;
diff --git a/src/OpenIddict.EntityFramework.Models/OpenIddict.EntityFramework.Models.csproj b/src/OpenIddict.EntityFramework.Models/OpenIddict.EntityFramework.Models.csproj
index c23bd436..ab3fb342 100644
--- a/src/OpenIddict.EntityFramework.Models/OpenIddict.EntityFramework.Models.csproj
+++ b/src/OpenIddict.EntityFramework.Models/OpenIddict.EntityFramework.Models.csproj
@@ -9,4 +9,8 @@
$(PackageTags);entityframework;models
+
+
+
+
diff --git a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkApplication.cs b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkApplication.cs
index 1c274973..a3ab19b5 100644
--- a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkApplication.cs
+++ b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkApplication.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics;
namespace OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkAuthorization.cs b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkAuthorization.cs
index db744535..5f3d6f7c 100644
--- a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkAuthorization.cs
+++ b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkAuthorization.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics;
namespace OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkScope.cs b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkScope.cs
index 1f1515ca..b1bf2a58 100644
--- a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkScope.cs
+++ b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkScope.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
namespace OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkToken.cs b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkToken.cs
index d0bced8f..91aa8a7a 100644
--- a/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkToken.cs
+++ b/src/OpenIddict.EntityFramework.Models/OpenIddictEntityFrameworkToken.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
namespace OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkApplicationConfiguration.cs b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkApplicationConfiguration.cs
index ab6df7d7..8895f712 100644
--- a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkApplicationConfiguration.cs
+++ b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkApplicationConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
diff --git a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkAuthorizationConfiguration.cs b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkAuthorizationConfiguration.cs
index f5adb652..2da8be0d 100644
--- a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkAuthorizationConfiguration.cs
+++ b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkAuthorizationConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.Data.Entity.ModelConfiguration;
using OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkScopeConfiguration.cs b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkScopeConfiguration.cs
index a3c318c1..3b978280 100644
--- a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkScopeConfiguration.cs
+++ b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkScopeConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
diff --git a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkTokenConfiguration.cs b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkTokenConfiguration.cs
index b579dd5f..d0226742 100644
--- a/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkTokenConfiguration.cs
+++ b/src/OpenIddict.EntityFramework/Configurations/OpenIddictEntityFrameworkTokenConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Infrastructure.Annotations;
diff --git a/src/OpenIddict.EntityFramework/OpenIddict.EntityFramework.csproj b/src/OpenIddict.EntityFramework/OpenIddict.EntityFramework.csproj
index 0eb2d64e..a2a1eb3c 100644
--- a/src/OpenIddict.EntityFramework/OpenIddict.EntityFramework.csproj
+++ b/src/OpenIddict.EntityFramework/OpenIddict.EntityFramework.csproj
@@ -22,4 +22,11 @@
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkBuilder.cs b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkBuilder.cs
index 0ff17419..ea02d3a7 100644
--- a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkBuilder.cs
+++ b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkBuilder.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Data.Entity;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.Core;
using OpenIddict.EntityFramework;
using OpenIddict.EntityFramework.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkExtensions.cs b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkExtensions.cs
index 67876622..b77ca34a 100644
--- a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkExtensions.cs
+++ b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkExtensions.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.EntityFramework;
using OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkHelpers.cs b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkHelpers.cs
index 9fc2f877..92ea38ca 100644
--- a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkHelpers.cs
+++ b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkHelpers.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
-using System.Linq;
using System.Runtime.CompilerServices;
-using System.Threading;
using Microsoft.Extensions.DependencyInjection;
using OpenIddict.EntityFramework;
using OpenIddict.EntityFramework.Models;
diff --git a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkOptions.cs b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkOptions.cs
index 52c84dac..bff7be86 100644
--- a/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkOptions.cs
+++ b/src/OpenIddict.EntityFramework/OpenIddictEntityFrameworkOptions.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Data.Entity;
-
namespace OpenIddict.EntityFramework;
///
diff --git a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolver.cs b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolver.cs
index 89b8931e..59b49028 100644
--- a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolver.cs
+++ b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolver.cs b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolver.cs
index a0fc6da3..8770eefe 100644
--- a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolver.cs
+++ b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkScopeStoreResolver.cs b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkScopeStoreResolver.cs
index f583c833..b640fc8f 100644
--- a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkScopeStoreResolver.cs
+++ b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkScopeStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkTokenStoreResolver.cs b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkTokenStoreResolver.cs
index 9687f9ff..e8857df1 100644
--- a/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkTokenStoreResolver.cs
+++ b/src/OpenIddict.EntityFramework/Resolvers/OpenIddictEntityFrameworkTokenStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkApplicationStore.cs b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkApplicationStore.cs
index 81777bb0..d20076d0 100644
--- a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkApplicationStore.cs
+++ b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkApplicationStore.cs
@@ -4,27 +4,18 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
-using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkAuthorizationStore.cs b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkAuthorizationStore.cs
index 27d78099..429b068c 100644
--- a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkAuthorizationStore.cs
+++ b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkAuthorizationStore.cs
@@ -4,27 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
-using System.Data.Entity;
using System.Data.Entity.Infrastructure;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkScopeStore.cs b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkScopeStore.cs
index 13d80c39..0b0400a6 100644
--- a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkScopeStore.cs
+++ b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkScopeStore.cs
@@ -4,26 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
-using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkTokenStore.cs b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkTokenStore.cs
index edf430c3..7f099579 100644
--- a/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkTokenStore.cs
+++ b/src/OpenIddict.EntityFramework/Stores/OpenIddictEntityFrameworkTokenStore.cs
@@ -4,26 +4,16 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
-using System.Data.Entity;
using System.Data.Entity.Infrastructure;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework;
diff --git a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddict.EntityFrameworkCore.Models.csproj b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddict.EntityFrameworkCore.Models.csproj
index 34675b6b..6a59bf7a 100644
--- a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddict.EntityFrameworkCore.Models.csproj
+++ b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddict.EntityFrameworkCore.Models.csproj
@@ -9,4 +9,8 @@
$(PackageTags);entityframeworkcore;models
+
+
+
+
diff --git a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreApplication.cs b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreApplication.cs
index fcbd9ad0..87f171e6 100644
--- a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreApplication.cs
+++ b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreApplication.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics;
namespace OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreAuthorization.cs b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreAuthorization.cs
index fbe4e1f3..5a09ab68 100644
--- a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreAuthorization.cs
+++ b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreAuthorization.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics;
namespace OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreScope.cs b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreScope.cs
index a12bfeff..cccb0267 100644
--- a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreScope.cs
+++ b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreScope.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
namespace OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreToken.cs b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreToken.cs
index 586df07d..8c02ae79 100644
--- a/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreToken.cs
+++ b/src/OpenIddict.EntityFrameworkCore.Models/OpenIddictEntityFrameworkCoreToken.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
namespace OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreApplicationConfiguration.cs b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreApplicationConfiguration.cs
index 40693c42..140bb402 100644
--- a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreApplicationConfiguration.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreApplicationConfiguration.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreAuthorizationConfiguration.cs b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreAuthorizationConfiguration.cs
index 85c39c0e..2ce61897 100644
--- a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreAuthorizationConfiguration.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreAuthorizationConfiguration.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreScopeConfiguration.cs b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreScopeConfiguration.cs
index c7cd14a0..828623d3 100644
--- a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreScopeConfiguration.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreScopeConfiguration.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreTokenConfiguration.cs b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreTokenConfiguration.cs
index 984e7a5e..bafb2138 100644
--- a/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreTokenConfiguration.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreTokenConfiguration.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddict.EntityFrameworkCore.csproj b/src/OpenIddict.EntityFrameworkCore/OpenIddict.EntityFrameworkCore.csproj
index 4101d339..9f78bbfd 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddict.EntityFrameworkCore.csproj
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddict.EntityFrameworkCore.csproj
@@ -22,4 +22,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreBuilder.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreBuilder.cs
index ce9240d6..e5f54c24 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreBuilder.cs
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreBuilder.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.EntityFrameworkCore;
using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore;
using OpenIddict.EntityFrameworkCore.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs
index 156ed573..7413d67f 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreCustomizer.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
using OpenIddict.EntityFrameworkCore.Models;
namespace OpenIddict.EntityFrameworkCore;
@@ -27,6 +24,7 @@ public class OpenIddictEntityFrameworkCoreCustomizer
public override void Customize(ModelBuilder modelBuilder, DbContext context)
{
if (modelBuilder is null)
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreExtensions.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreExtensions.cs
index 4f24cf5a..d99b7113 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreExtensions.cs
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreExtensions.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.EntityFrameworkCore;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs
index f79527db..fddd7dc6 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreHelpers.cs
@@ -4,13 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Runtime.CompilerServices;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
using OpenIddict.EntityFrameworkCore;
using OpenIddict.EntityFrameworkCore.Models;
diff --git a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreOptions.cs b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreOptions.cs
index e06d8197..362482be 100644
--- a/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreOptions.cs
+++ b/src/OpenIddict.EntityFrameworkCore/OpenIddictEntityFrameworkCoreOptions.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.EntityFrameworkCore;
-
namespace OpenIddict.EntityFrameworkCore;
///
diff --git a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolver.cs b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolver.cs
index 188e30d9..66ce051d 100644
--- a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolver.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.cs b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.cs
index 9d654bdf..97be87bd 100644
--- a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolver.cs b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolver.cs
index 934b1a11..779e1805 100644
--- a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolver.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolver.cs b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolver.cs
index 9a970bcf..1ad6e4e4 100644
--- a/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolver.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolver.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using OpenIddict.Extensions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreApplicationStore.cs b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreApplicationStore.cs
index c29b8950..72fef57d 100644
--- a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreApplicationStore.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreApplicationStore.cs
@@ -4,28 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreAuthorizationStore.cs b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreAuthorizationStore.cs
index fdaab970..2b7c158c 100644
--- a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreAuthorizationStore.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreAuthorizationStore.cs
@@ -4,28 +4,16 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreScopeStore.cs b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreScopeStore.cs
index 587cb5ee..04fefdea 100644
--- a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreScopeStore.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreScopeStore.cs
@@ -4,25 +4,16 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreTokenStore.cs b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreTokenStore.cs
index 45424861..7279a075 100644
--- a/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreTokenStore.cs
+++ b/src/OpenIddict.EntityFrameworkCore/Stores/OpenIddictEntityFrameworkCoreTokenStore.cs
@@ -4,27 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Data;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore;
diff --git a/src/OpenIddict.MongoDb.Models/OpenIddict.MongoDb.Models.csproj b/src/OpenIddict.MongoDb.Models/OpenIddict.MongoDb.Models.csproj
index bfde10fb..439170e5 100644
--- a/src/OpenIddict.MongoDb.Models/OpenIddict.MongoDb.Models.csproj
+++ b/src/OpenIddict.MongoDb.Models/OpenIddict.MongoDb.Models.csproj
@@ -16,4 +16,10 @@
+
+
+
+
+
+
diff --git a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbApplication.cs b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbApplication.cs
index f288ba06..c0874330 100644
--- a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbApplication.cs
+++ b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbApplication.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using MongoDB.Bson;
-using MongoDB.Bson.Serialization.Attributes;
namespace OpenIddict.MongoDb.Models;
diff --git a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbAuthorization.cs b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbAuthorization.cs
index f403f27e..c47550b8 100644
--- a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbAuthorization.cs
+++ b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbAuthorization.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using MongoDB.Bson;
-using MongoDB.Bson.Serialization.Attributes;
namespace OpenIddict.MongoDb.Models;
diff --git a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbScope.cs b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbScope.cs
index 5e121d0f..ac15b5b6 100644
--- a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbScope.cs
+++ b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbScope.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using MongoDB.Bson;
-using MongoDB.Bson.Serialization.Attributes;
namespace OpenIddict.MongoDb.Models;
diff --git a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbToken.cs b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbToken.cs
index 9bbb45a4..68e4c4bd 100644
--- a/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbToken.cs
+++ b/src/OpenIddict.MongoDb.Models/OpenIddictMongoDbToken.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
-using MongoDB.Bson;
-using MongoDB.Bson.Serialization.Attributes;
namespace OpenIddict.MongoDb.Models;
diff --git a/src/OpenIddict.MongoDb/IOpenIddictMongoDbContext.cs b/src/OpenIddict.MongoDb/IOpenIddictMongoDbContext.cs
index 81d2a31d..2e8af6f8 100644
--- a/src/OpenIddict.MongoDb/IOpenIddictMongoDbContext.cs
+++ b/src/OpenIddict.MongoDb/IOpenIddictMongoDbContext.cs
@@ -4,10 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading;
-using System.Threading.Tasks;
-using MongoDB.Driver;
-
namespace OpenIddict.MongoDb;
///
diff --git a/src/OpenIddict.MongoDb/OpenIddict.MongoDb.csproj b/src/OpenIddict.MongoDb/OpenIddict.MongoDb.csproj
index 5289e772..c9671b8e 100644
--- a/src/OpenIddict.MongoDb/OpenIddict.MongoDb.csproj
+++ b/src/OpenIddict.MongoDb/OpenIddict.MongoDb.csproj
@@ -20,4 +20,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.MongoDb/OpenIddictMongoDbBuilder.cs b/src/OpenIddict.MongoDb/OpenIddictMongoDbBuilder.cs
index 3e886fd7..f6fac7bd 100644
--- a/src/OpenIddict.MongoDb/OpenIddictMongoDbBuilder.cs
+++ b/src/OpenIddict.MongoDb/OpenIddictMongoDbBuilder.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using MongoDB.Driver;
using OpenIddict.Core;
using OpenIddict.MongoDb;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.MongoDb/OpenIddictMongoDbContext.cs b/src/OpenIddict.MongoDb/OpenIddictMongoDbContext.cs
index c7e2c6d4..f0450085 100644
--- a/src/OpenIddict.MongoDb/OpenIddictMongoDbContext.cs
+++ b/src/OpenIddict.MongoDb/OpenIddictMongoDbContext.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using MongoDB.Driver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/OpenIddictMongoDbExtensions.cs b/src/OpenIddict.MongoDb/OpenIddictMongoDbExtensions.cs
index 3609501c..6e33434c 100644
--- a/src/OpenIddict.MongoDb/OpenIddictMongoDbExtensions.cs
+++ b/src/OpenIddict.MongoDb/OpenIddictMongoDbExtensions.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.MongoDb;
using OpenIddict.MongoDb.Models;
diff --git a/src/OpenIddict.MongoDb/OpenIddictMongoDbHelpers.cs b/src/OpenIddict.MongoDb/OpenIddictMongoDbHelpers.cs
index b3649b1e..d0d38490 100644
--- a/src/OpenIddict.MongoDb/OpenIddictMongoDbHelpers.cs
+++ b/src/OpenIddict.MongoDb/OpenIddictMongoDbHelpers.cs
@@ -4,11 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Runtime.CompilerServices;
-using System.Threading;
namespace MongoDB.Driver;
diff --git a/src/OpenIddict.MongoDb/OpenIddictMongoDbOptions.cs b/src/OpenIddict.MongoDb/OpenIddictMongoDbOptions.cs
index 3ea28817..83af457f 100644
--- a/src/OpenIddict.MongoDb/OpenIddictMongoDbOptions.cs
+++ b/src/OpenIddict.MongoDb/OpenIddictMongoDbOptions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using MongoDB.Driver;
-
namespace OpenIddict.MongoDb;
///
diff --git a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbApplicationStoreResolver.cs b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbApplicationStoreResolver.cs
index 70b20024..fee2ca2e 100644
--- a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbApplicationStoreResolver.cs
+++ b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbApplicationStoreResolver.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbAuthorizationStoreResolver.cs b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbAuthorizationStoreResolver.cs
index 72b117de..b5ffdded 100644
--- a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbAuthorizationStoreResolver.cs
+++ b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbAuthorizationStoreResolver.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbScopeStoreResolver.cs b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbScopeStoreResolver.cs
index 5471d0a7..86e78c14 100644
--- a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbScopeStoreResolver.cs
+++ b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbScopeStoreResolver.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbTokenStoreResolver.cs b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbTokenStoreResolver.cs
index 8943286f..1c7d7711 100644
--- a/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbTokenStoreResolver.cs
+++ b/src/OpenIddict.MongoDb/Resolvers/OpenIddictMongoDbTokenStoreResolver.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
index c6947184..90c11d8b 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbApplicationStore.cs
@@ -4,25 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Options;
-using MongoDB.Bson;
-using MongoDB.Driver;
-using MongoDB.Driver.Linq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
index 0ce8c9e0..6c5a27f3 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbAuthorizationStore.cs
@@ -4,25 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Options;
-using MongoDB.Bson;
-using MongoDB.Driver;
-using MongoDB.Driver.Linq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
index 1ab880e7..0e7b7496 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbScopeStore.cs
@@ -4,25 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Options;
-using MongoDB.Bson;
-using MongoDB.Driver;
-using MongoDB.Driver.Linq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
index 465b971b..60a859d2 100644
--- a/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
+++ b/src/OpenIddict.MongoDb/Stores/OpenIddictMongoDbTokenStore.cs
@@ -4,25 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.IO;
-using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.Options;
-using MongoDB.Bson;
-using MongoDB.Driver;
-using MongoDB.Driver.Linq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb;
diff --git a/src/OpenIddict.Quartz/OpenIddict.Quartz.csproj b/src/OpenIddict.Quartz/OpenIddict.Quartz.csproj
index b8c83fbc..dd8bc497 100644
--- a/src/OpenIddict.Quartz/OpenIddict.Quartz.csproj
+++ b/src/OpenIddict.Quartz/OpenIddict.Quartz.csproj
@@ -17,4 +17,11 @@
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Quartz/OpenIddictQuartzBuilder.cs b/src/OpenIddict.Quartz/OpenIddictQuartzBuilder.cs
index 67972b1d..086db9d7 100644
--- a/src/OpenIddict.Quartz/OpenIddictQuartzBuilder.cs
+++ b/src/OpenIddict.Quartz/OpenIddictQuartzBuilder.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using OpenIddict.Quartz;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Quartz/OpenIddictQuartzConfiguration.cs b/src/OpenIddict.Quartz/OpenIddictQuartzConfiguration.cs
index b28baf81..f4bb8021 100644
--- a/src/OpenIddict.Quartz/OpenIddictQuartzConfiguration.cs
+++ b/src/OpenIddict.Quartz/OpenIddictQuartzConfiguration.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.Options;
-using Quartz;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Quartz;
diff --git a/src/OpenIddict.Quartz/OpenIddictQuartzExtensions.cs b/src/OpenIddict.Quartz/OpenIddictQuartzExtensions.cs
index f414aa9a..d65f3f10 100644
--- a/src/OpenIddict.Quartz/OpenIddictQuartzExtensions.cs
+++ b/src/OpenIddict.Quartz/OpenIddictQuartzExtensions.cs
@@ -4,11 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Quartz;
-using Quartz;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Quartz/OpenIddictQuartzJob.cs b/src/OpenIddict.Quartz/OpenIddictQuartzJob.cs
index 35cc68f2..c82f7d66 100644
--- a/src/OpenIddict.Quartz/OpenIddictQuartzJob.cs
+++ b/src/OpenIddict.Quartz/OpenIddictQuartzJob.cs
@@ -4,14 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using Quartz;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Quartz;
diff --git a/src/OpenIddict.Quartz/OpenIddictQuartzOptions.cs b/src/OpenIddict.Quartz/OpenIddictQuartzOptions.cs
index 4d93810d..9d4c5df4 100644
--- a/src/OpenIddict.Quartz/OpenIddictQuartzOptions.cs
+++ b/src/OpenIddict.Quartz/OpenIddictQuartzOptions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-
namespace OpenIddict.Quartz;
///
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj b/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
index 5e59c34b..b2639667 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddict.Server.AspNetCore.csproj
@@ -27,4 +27,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreBuilder.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreBuilder.cs
index cc9ecf2a..68861785 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreBuilder.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreBuilder.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Distributed;
using OpenIddict.Server.AspNetCore;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreConfiguration.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreConfiguration.cs
index a41ee087..9545ab36 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreConfiguration.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreConfiguration.cs
@@ -4,11 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Options;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreDefaults.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreDefaults.cs
index 22488fe9..e1ddc3ee 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreDefaults.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreDefaults.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.AspNetCore.Authentication;
-
namespace OpenIddict.Server.AspNetCore;
///
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreExtensions.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreExtensions.cs
index 80053cd0..7a871d84 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreExtensions.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreExtensions.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Server;
using OpenIddict.Server.AspNetCore;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -40,7 +35,7 @@ public static class OpenIddictServerAspNetCoreExtensions
// Register the built-in event handlers used by the OpenIddict ASP.NET Core server components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictServerAspNetCoreHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Register the built-in filters used by the default OpenIddict ASP.NET Core server event handlers.
builder.Services.TryAddSingleton();
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandler.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandler.cs
index 93a6f10e..74f5d031 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandler.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandler.cs
@@ -4,20 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
using System.Text.Encodings.Web;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Authentication;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
using Properties = OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlerFilters.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlerFilters.cs
index cbc6907b..78bbfa6d 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlerFilters.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlerFilters.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.Extensions.Options;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Authentication.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Authentication.cs
index 4ce3522d..656d1dd2 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Authentication.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Authentication.cs
@@ -4,18 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Caching.Distributed;
@@ -23,12 +18,8 @@ using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
using JsonWebTokenTypes = OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants.JsonWebTokenTypes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Device.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Device.cs
index 6579fbad..4f06a7aa 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Device.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Device.cs
@@ -4,16 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Discovery.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Discovery.cs
index ae001701..4b1a80df 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Discovery.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Discovery.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Exchange.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Exchange.cs
index e9db4b96..88887927 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Exchange.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Exchange.cs
@@ -5,8 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Introspection.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Introspection.cs
index 8b781151..c380ca74 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Introspection.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Introspection.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Revocation.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Revocation.cs
index cb5e6e1e..58d6aadd 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Revocation.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Revocation.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Session.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Session.cs
index 8a0e562b..54507dc4 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Session.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Session.cs
@@ -4,29 +4,20 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
using JsonWebTokenTypes = OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants.JsonWebTokenTypes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Userinfo.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Userinfo.cs
index 88ce4612..e4d11a0b 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Userinfo.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.Userinfo.cs
@@ -5,8 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.cs
index 12226084..9d8b3789 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHandlers.cs
@@ -4,31 +4,18 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Diagnostics;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using Properties = OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHelpers.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHelpers.cs
index 271a6173..326977b2 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHelpers.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreHelpers.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.AspNetCore.Http;
-using OpenIddict.Abstractions;
using OpenIddict.Server;
using OpenIddict.Server.AspNetCore;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace Microsoft.AspNetCore;
diff --git a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreOptions.cs b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreOptions.cs
index d235a124..3173daa6 100644
--- a/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreOptions.cs
+++ b/src/OpenIddict.Server.AspNetCore/OpenIddictServerAspNetCoreOptions.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Authentication;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Distributed;
namespace OpenIddict.Server.AspNetCore;
diff --git a/src/OpenIddict.Server.DataProtection/IOpenIddictServerDataProtectionFormatter.cs b/src/OpenIddict.Server.DataProtection/IOpenIddictServerDataProtectionFormatter.cs
index fc1d7921..76a5c256 100644
--- a/src/OpenIddict.Server.DataProtection/IOpenIddictServerDataProtectionFormatter.cs
+++ b/src/OpenIddict.Server.DataProtection/IOpenIddictServerDataProtectionFormatter.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.IO;
using System.Security.Claims;
namespace OpenIddict.Server.DataProtection;
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj b/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
index ecac5301..8dc56da7 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
+++ b/src/OpenIddict.Server.DataProtection/OpenIddict.Server.DataProtection.csproj
@@ -25,4 +25,14 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionBuilder.cs b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionBuilder.cs
index e8c91d35..8a084c5b 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionBuilder.cs
+++ b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionBuilder.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using Microsoft.AspNetCore.DataProtection;
using OpenIddict.Server.DataProtection;
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionConfiguration.cs b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionConfiguration.cs
index 3ba70992..27f05bd0 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionConfiguration.cs
+++ b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Options;
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionExtensions.cs b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionExtensions.cs
index 4e9e1dcd..df131355 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionExtensions.cs
+++ b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionExtensions.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Server;
using OpenIddict.Server.DataProtection;
-using static OpenIddict.Server.DataProtection.OpenIddictServerDataProtectionHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -37,7 +34,7 @@ public static class OpenIddictServerDataProtectionExtensions
// Register the built-in server event handlers used by the OpenIddict Data Protection components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictServerDataProtectionHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Note: TryAddEnumerable() is used here to ensure the initializers are registered only once.
builder.Services.TryAddEnumerable(new[]
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionFormatter.cs b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionFormatter.cs
index 7633b638..2768c1e5 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionFormatter.cs
+++ b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionFormatter.cs
@@ -4,19 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using Properties = OpenIddict.Server.DataProtection.OpenIddictServerDataProtectionConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.DataProtection;
diff --git a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionHandlers.Protection.cs b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionHandlers.Protection.cs
index 0607dedd..7ec54603 100644
--- a/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionHandlers.Protection.cs
+++ b/src/OpenIddict.Server.DataProtection/OpenIddictServerDataProtectionHandlers.Protection.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.DataProtection.OpenIddictServerDataProtectionConstants.Purposes;
-using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
using Schemes = OpenIddict.Server.DataProtection.OpenIddictServerDataProtectionConstants.Purposes.Schemes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.DataProtection;
diff --git a/src/OpenIddict.Server.Owin/OpenIddict.Server.Owin.csproj b/src/OpenIddict.Server.Owin/OpenIddict.Server.Owin.csproj
index f78a468a..5370383f 100644
--- a/src/OpenIddict.Server.Owin/OpenIddict.Server.Owin.csproj
+++ b/src/OpenIddict.Server.Owin/OpenIddict.Server.Owin.csproj
@@ -19,4 +19,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinBuilder.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinBuilder.cs
index 07541c37..77ca4e02 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinBuilder.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinBuilder.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using Microsoft.Extensions.Caching.Distributed;
-using Microsoft.Owin;
using OpenIddict.Server.Owin;
using Owin;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinConfiguration.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinConfiguration.cs
index ce6ca787..cee6694f 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinConfiguration.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinConfiguration.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.Options;
-using Microsoft.Owin.Security;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinDefaults.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinDefaults.cs
index 83de9fed..dbe704bf 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinDefaults.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinDefaults.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.Owin.Security;
-
namespace OpenIddict.Server.Owin;
///
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinExtensions.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinExtensions.cs
index fe3d1385..608e3ad9 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinExtensions.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinExtensions.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Server;
using OpenIddict.Server.Owin;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -42,7 +38,7 @@ public static class OpenIddictServerOwinExtensions
// Register the built-in event handlers used by the OpenIddict OWIN server components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictServerOwinHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Register the built-in filters used by the default OpenIddict OWIN server event handlers.
builder.Services.TryAddSingleton();
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandler.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandler.cs
index 03cb12c3..aba6f5e7 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandler.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandler.cs
@@ -4,18 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using System.Threading.Tasks;
-using Microsoft.Owin;
-using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Infrastructure;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
using Properties = OpenIddict.Server.Owin.OpenIddictServerOwinConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlerFilters.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlerFilters.cs
index d6d22f7f..1ae875a7 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlerFilters.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlerFilters.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Owin;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Authentication.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Authentication.cs
index 2e31a7c8..a813e8df 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Authentication.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Authentication.cs
@@ -4,31 +4,21 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using Microsoft.Owin.Infrastructure;
using Owin;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.Owin.OpenIddictServerOwinConstants;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
using JsonWebTokenTypes = OpenIddict.Server.Owin.OpenIddictServerOwinConstants.JsonWebTokenTypes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Device.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Device.cs
index 923443f8..2da8b9f5 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Device.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Device.cs
@@ -4,16 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
-using Microsoft.Owin.Security;
using Owin;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Discovery.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Discovery.cs
index 7531f81b..8cf2f73e 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Discovery.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Discovery.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Exchange.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Exchange.cs
index 52fed871..174ece72 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Exchange.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Exchange.cs
@@ -5,8 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Introspection.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Introspection.cs
index 1696c2f8..c9a7175e 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Introspection.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Introspection.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Revocation.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Revocation.cs
index c14f2c33..db85a8ac 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Revocation.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Revocation.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Session.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Session.cs
index f5920653..61428478 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Session.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Session.cs
@@ -4,29 +4,19 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using Microsoft.Owin.Infrastructure;
-using Microsoft.Owin.Security;
using Owin;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.Owin.OpenIddictServerOwinConstants;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
using JsonWebTokenTypes = OpenIddict.Server.Owin.OpenIddictServerOwinConstants.JsonWebTokenTypes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Userinfo.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Userinfo.cs
index 1395bf92..36cb6fb1 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Userinfo.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.Userinfo.cs
@@ -5,8 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.cs
index a0dd7e67..b9f2cb0a 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHandlers.cs
@@ -4,29 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.IO;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using Microsoft.Owin;
-using Microsoft.Owin.Security;
-using OpenIddict.Abstractions;
using Owin;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.Owin.OpenIddictServerOwinConstants;
-using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlerFilters;
using Properties = OpenIddict.Server.Owin.OpenIddictServerOwinConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHelpers.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHelpers.cs
index d08e13db..9df7d914 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinHelpers.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinHelpers.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.Owin;
-using OpenIddict.Abstractions;
using OpenIddict.Server;
using OpenIddict.Server.Owin;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddleware.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddleware.cs
index 3123806e..2274663f 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddleware.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddleware.cs
@@ -5,7 +5,6 @@
*/
using Microsoft.Extensions.Options;
-using Microsoft.Owin;
using Microsoft.Owin.Security.Infrastructure;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddlewareFactory.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddlewareFactory.cs
index 9f884856..a1966639 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddlewareFactory.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinMiddlewareFactory.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using Microsoft.Owin;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server.Owin/OpenIddictServerOwinOptions.cs b/src/OpenIddict.Server.Owin/OpenIddictServerOwinOptions.cs
index 7b8ffb9b..72e64a11 100644
--- a/src/OpenIddict.Server.Owin/OpenIddictServerOwinOptions.cs
+++ b/src/OpenIddict.Server.Owin/OpenIddictServerOwinOptions.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.Caching.Distributed;
-using Microsoft.Owin;
-using Microsoft.Owin.Security;
using Owin;
namespace OpenIddict.Server.Owin;
diff --git a/src/OpenIddict.Server/IOpenIddictServerDispatcher.cs b/src/OpenIddict.Server/IOpenIddictServerDispatcher.cs
index ce88b8f4..7c2ac811 100644
--- a/src/OpenIddict.Server/IOpenIddictServerDispatcher.cs
+++ b/src/OpenIddict.Server/IOpenIddictServerDispatcher.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Server.OpenIddictServerEvents;
-
namespace OpenIddict.Server;
public interface IOpenIddictServerDispatcher
diff --git a/src/OpenIddict.Server/IOpenIddictServerFactory.cs b/src/OpenIddict.Server/IOpenIddictServerFactory.cs
index ceda39a6..7e4d04bc 100644
--- a/src/OpenIddict.Server/IOpenIddictServerFactory.cs
+++ b/src/OpenIddict.Server/IOpenIddictServerFactory.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-
namespace OpenIddict.Server;
public interface IOpenIddictServerFactory
diff --git a/src/OpenIddict.Server/IOpenIddictServerHandler.cs b/src/OpenIddict.Server/IOpenIddictServerHandler.cs
index be571906..8ff5bb8f 100644
--- a/src/OpenIddict.Server/IOpenIddictServerHandler.cs
+++ b/src/OpenIddict.Server/IOpenIddictServerHandler.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Server.OpenIddictServerEvents;
-
namespace OpenIddict.Server;
///
diff --git a/src/OpenIddict.Server/IOpenIddictServerHandlerFilter.cs b/src/OpenIddict.Server/IOpenIddictServerHandlerFilter.cs
index fa037a09..60154590 100644
--- a/src/OpenIddict.Server/IOpenIddictServerHandlerFilter.cs
+++ b/src/OpenIddict.Server/IOpenIddictServerHandlerFilter.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Server.OpenIddictServerEvents;
-
namespace OpenIddict.Server;
public interface IOpenIddictServerHandlerFilter where TContext : BaseContext
diff --git a/src/OpenIddict.Server/OpenIddict.Server.csproj b/src/OpenIddict.Server/OpenIddict.Server.csproj
index 25543d92..277f415f 100644
--- a/src/OpenIddict.Server/OpenIddict.Server.csproj
+++ b/src/OpenIddict.Server/OpenIddict.Server.csproj
@@ -27,4 +27,13 @@ To use the server feature on ASP.NET Core or OWIN/Katana, reference the OpenIddi
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Server/OpenIddictServerBuilder.cs b/src/OpenIddict.Server/OpenIddictServerBuilder.cs
index e0920423..f611ab3b 100644
--- a/src/OpenIddict.Server/OpenIddictServerBuilder.cs
+++ b/src/OpenIddict.Server/OpenIddictServerBuilder.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
-using System.IO;
-using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
@@ -16,8 +13,6 @@ using System.Security.Cryptography.X509Certificates;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.IdentityModel.Tokens;
using OpenIddict.Server;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Server/OpenIddictServerConfiguration.cs b/src/OpenIddict.Server/OpenIddictServerConfiguration.cs
index bcfbd87e..d0f0a2fb 100644
--- a/src/OpenIddict.Server/OpenIddictServerConfiguration.cs
+++ b/src/OpenIddict.Server/OpenIddictServerConfiguration.cs
@@ -4,16 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics;
-using System.Linq;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerDispatcher.cs b/src/OpenIddict.Server/OpenIddictServerDispatcher.cs
index ca420ebf..87ee208f 100644
--- a/src/OpenIddict.Server/OpenIddictServerDispatcher.cs
+++ b/src/OpenIddict.Server/OpenIddictServerDispatcher.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs
index fa7104d7..06961dcb 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs
@@ -4,11 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Device.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Device.cs
index 8e6c557c..45177f18 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Device.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Device.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Discovery.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Discovery.cs
index d51cb2b8..b7c544e5 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Discovery.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Discovery.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs
index 7b02a2b0..bc72310d 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Introspection.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Introspection.cs
index ce8cada3..385913e9 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Introspection.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Introspection.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Protection.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Protection.cs
index c2331757..faec92fd 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Protection.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Protection.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Revocation.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Revocation.cs
index 2e86f9e7..10bf9d3d 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Revocation.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Revocation.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Session.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Session.cs
index 59304266..0c660d9c 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Session.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Session.cs
@@ -4,11 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using OpenIddict.Abstractions;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
-
namespace OpenIddict.Server;
public static partial class OpenIddictServerEvents
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Userinfo.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Userinfo.cs
index 35a3c028..e18ae98d 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.Userinfo.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.Userinfo.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
using System.Text.Json;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.cs b/src/OpenIddict.Server/OpenIddictServerEvents.cs
index ddf12dc0..dd9aa40a 100644
--- a/src/OpenIddict.Server/OpenIddictServerEvents.cs
+++ b/src/OpenIddict.Server/OpenIddictServerEvents.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.ComponentModel;
using System.Security.Claims;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerExtensions.cs b/src/OpenIddict.Server/OpenIddictServerExtensions.cs
index a5667bb3..aab01ccc 100644
--- a/src/OpenIddict.Server/OpenIddictServerExtensions.cs
+++ b/src/OpenIddict.Server/OpenIddictServerExtensions.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.Server;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using static OpenIddict.Server.OpenIddictServerHandlers;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Server/OpenIddictServerFactory.cs b/src/OpenIddict.Server/OpenIddictServerFactory.cs
index 4d0bffd8..90ad923d 100644
--- a/src/OpenIddict.Server/OpenIddictServerFactory.cs
+++ b/src/OpenIddict.Server/OpenIddictServerFactory.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandler.cs b/src/OpenIddict.Server/OpenIddictServerHandler.cs
index 93b43e26..90b59e9c 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandler.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandler.cs
@@ -4,10 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
-using static OpenIddict.Server.OpenIddictServerEvents;
-
namespace OpenIddict.Server;
///
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlerDescriptor.cs b/src/OpenIddict.Server/OpenIddictServerHandlerDescriptor.cs
index a270f775..500b16e8 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlerDescriptor.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlerDescriptor.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlerFilters.cs b/src/OpenIddict.Server/OpenIddictServerHandlerFilters.cs
index e84795c8..051a4c5c 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlerFilters.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlerFilters.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Threading.Tasks;
-using static OpenIddict.Server.OpenIddictServerEvents;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Authentication.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Authentication.cs
index 4b4eb7a4..b2914674 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Authentication.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Authentication.cs
@@ -4,20 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Device.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Device.cs
index 72caa6c4..041d5ab6 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Device.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Device.cs
@@ -4,20 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Discovery.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Discovery.cs
index 1a48a6d1..d76e9d7d 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Discovery.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Discovery.cs
@@ -4,22 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.IO;
-using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Exchange.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Exchange.cs
index ab5c27d2..d83d267b 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Exchange.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Exchange.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
#if !SUPPORTS_TIME_CONSTANT_COMPARISONS
using Org.BouncyCastle.Utilities;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Introspection.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Introspection.cs
index 0b7c4d26..6112fe6c 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Introspection.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Introspection.cs
@@ -4,27 +4,16 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using System.IO;
-using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Protection.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Protection.cs
index b94ee9d3..c742ea4b 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Protection.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Protection.cs
@@ -4,24 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Revocation.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Revocation.cs
index d1d77db4..8169b611 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Revocation.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Revocation.cs
@@ -4,17 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Session.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Session.cs
index f82bc5ab..11272efd 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Session.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Session.cs
@@ -4,16 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.Userinfo.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.Userinfo.cs
index 2565d2cb..41652727 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.Userinfo.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.Userinfo.cs
@@ -4,18 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Linq;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHandlers.cs b/src/OpenIddict.Server/OpenIddictServerHandlers.cs
index 897af3cb..5cc8ae67 100644
--- a/src/OpenIddict.Server/OpenIddictServerHandlers.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHandlers.cs
@@ -4,23 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerHelpers.cs b/src/OpenIddict.Server/OpenIddictServerHelpers.cs
index b3d60b8e..5362a204 100644
--- a/src/OpenIddict.Server/OpenIddictServerHelpers.cs
+++ b/src/OpenIddict.Server/OpenIddictServerHelpers.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
-
namespace OpenIddict.Server;
///
diff --git a/src/OpenIddict.Server/OpenIddictServerOptions.cs b/src/OpenIddict.Server/OpenIddictServerOptions.cs
index f42413e8..2399b57d 100644
--- a/src/OpenIddict.Server/OpenIddictServerOptions.cs
+++ b/src/OpenIddict.Server/OpenIddictServerOptions.cs
@@ -4,15 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.ComponentModel;
-using System.Linq;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Server/OpenIddictServerTransaction.cs b/src/OpenIddict.Server/OpenIddictServerTransaction.cs
index 66dc976c..8d6252ce 100644
--- a/src/OpenIddict.Server/OpenIddictServerTransaction.cs
+++ b/src/OpenIddict.Server/OpenIddictServerTransaction.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
namespace OpenIddict.Server;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj b/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
index e63dd866..ccaa8f6e 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddict.Validation.AspNetCore.csproj
@@ -25,4 +25,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreBuilder.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreBuilder.cs
index 01e3659e..ee0f1d49 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreBuilder.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreBuilder.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using OpenIddict.Validation.AspNetCore;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreConfiguration.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreConfiguration.cs
index df09c0dd..404515e5 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreConfiguration.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreConfiguration.cs
@@ -4,11 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Options;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.AspNetCore;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreDefaults.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreDefaults.cs
index 94f2b515..7c26a978 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreDefaults.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreDefaults.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.AspNetCore.Authentication;
-
namespace OpenIddict.Validation.AspNetCore;
///
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreExtensions.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreExtensions.cs
index 73ce5c86..29a56854 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreExtensions.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreExtensions.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
-using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Validation;
using OpenIddict.Validation.AspNetCore;
-using static OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlerFilters;
-using static OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -40,7 +35,7 @@ public static class OpenIddictValidationAspNetCoreExtensions
// Register the built-in event handlers used by the OpenIddict ASP.NET Core validation components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictValidationAspNetCoreHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Register the built-in filters used by the default OpenIddict ASP.NET Core validation event handlers.
builder.Services.TryAddSingleton();
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandler.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandler.cs
index 9e3f4238..17fe35eb 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandler.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandler.cs
@@ -4,19 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Text.Encodings.Web;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Authentication;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
using Properties = OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.AspNetCore;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlerFilters.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlerFilters.cs
index 4e5f81e0..b2b877ba 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlerFilters.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlerFilters.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace OpenIddict.Validation.AspNetCore;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlers.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlers.cs
index ba706c5f..1ebd31dc 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlers.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHandlers.cs
@@ -4,31 +4,18 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.IO;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
-using Microsoft.AspNetCore.Authentication;
-using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlerFilters;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
-using static OpenIddict.Validation.OpenIddictValidationHandlers;
using Properties = OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.AspNetCore;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHelpers.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHelpers.cs
index 4a379cb4..27d43f17 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHelpers.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreHelpers.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.AspNetCore.Http;
-using OpenIddict.Abstractions;
using OpenIddict.Validation;
using OpenIddict.Validation.AspNetCore;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace Microsoft.AspNetCore;
diff --git a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreOptions.cs b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreOptions.cs
index 4e6a5b37..20bba4f5 100644
--- a/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreOptions.cs
+++ b/src/OpenIddict.Validation.AspNetCore/OpenIddictValidationAspNetCoreOptions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.AspNetCore.Authentication;
-
namespace OpenIddict.Validation.AspNetCore;
///
diff --git a/src/OpenIddict.Validation.DataProtection/IOpenIddictValidationDataProtectionFormatter.cs b/src/OpenIddict.Validation.DataProtection/IOpenIddictValidationDataProtectionFormatter.cs
index 9cb0f059..cf31415d 100644
--- a/src/OpenIddict.Validation.DataProtection/IOpenIddictValidationDataProtectionFormatter.cs
+++ b/src/OpenIddict.Validation.DataProtection/IOpenIddictValidationDataProtectionFormatter.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.IO;
using System.Security.Claims;
namespace OpenIddict.Validation.DataProtection;
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj b/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
index 429b5a53..d06d131c 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddict.Validation.DataProtection.csproj
@@ -25,4 +25,14 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionBuilder.cs b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionBuilder.cs
index 93abca76..4f7bc1db 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionBuilder.cs
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionBuilder.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using Microsoft.AspNetCore.DataProtection;
using OpenIddict.Validation.DataProtection;
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionConfiguration.cs b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionConfiguration.cs
index 17df7ea7..c8d4b5e1 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionConfiguration.cs
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Options;
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionExtensions.cs b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionExtensions.cs
index c002c46d..47abc50e 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionExtensions.cs
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionExtensions.cs
@@ -4,13 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Validation;
using OpenIddict.Validation.DataProtection;
-using static OpenIddict.Validation.DataProtection.OpenIddictValidationDataProtectionHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -36,7 +33,7 @@ public static class OpenIddictValidationDataProtectionExtensions
// Register the built-in validation event handlers used by the OpenIddict Data Protection components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictValidationDataProtectionHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Note: TryAddEnumerable() is used here to ensure the initializers are registered only once.
builder.Services.TryAddEnumerable(new[]
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionFormatter.cs b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionFormatter.cs
index d913ea8b..360831f0 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionFormatter.cs
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionFormatter.cs
@@ -4,16 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
-using System.IO;
using System.Security.Claims;
using System.Text.Json;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using Properties = OpenIddict.Validation.DataProtection.OpenIddictValidationDataProtectionConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.DataProtection;
diff --git a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionHandlers.Protection.cs b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionHandlers.Protection.cs
index 47960667..bd5d48a1 100644
--- a/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionHandlers.Protection.cs
+++ b/src/OpenIddict.Validation.DataProtection/OpenIddictValidationDataProtectionHandlers.Protection.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.IO;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Validation.DataProtection.OpenIddictValidationDataProtectionConstants.Purposes;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
using static OpenIddict.Validation.OpenIddictValidationHandlers.Protection;
using Schemes = OpenIddict.Validation.DataProtection.OpenIddictValidationDataProtectionConstants.Purposes.Schemes;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.DataProtection;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddict.Validation.Owin.csproj b/src/OpenIddict.Validation.Owin/OpenIddict.Validation.Owin.csproj
index c4cc10e6..0339bc5e 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddict.Validation.Owin.csproj
+++ b/src/OpenIddict.Validation.Owin/OpenIddict.Validation.Owin.csproj
@@ -18,4 +18,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinBuilder.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinBuilder.cs
index 68ef7de2..20af2ae5 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinBuilder.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinBuilder.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using Microsoft.Owin.Security;
using OpenIddict.Validation.Owin;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinConfiguration.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinConfiguration.cs
index 77e3068b..fb033ae1 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinConfiguration.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.Options;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinDefaults.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinDefaults.cs
index 90b1ab03..d4174fc8 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinDefaults.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinDefaults.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.Owin.Security;
-
namespace OpenIddict.Validation.Owin;
///
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinExtensions.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinExtensions.cs
index e899cd6d..fe5f6bfe 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinExtensions.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinExtensions.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Validation;
using OpenIddict.Validation.Owin;
-using static OpenIddict.Validation.Owin.OpenIddictValidationOwinHandlerFilters;
-using static OpenIddict.Validation.Owin.OpenIddictValidationOwinHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -40,7 +36,7 @@ public static class OpenIddictValidationOwinExtensions
// Register the built-in event handlers used by the OpenIddict OWIN validation components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictValidationOwinHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Register the built-in filters used by the default OpenIddict OWIN validation event handlers.
builder.Services.TryAddSingleton();
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandler.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandler.cs
index c2388274..9f897f72 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandler.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandler.cs
@@ -4,18 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
-using System.Threading.Tasks;
-using Microsoft.Owin;
-using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Infrastructure;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
using Properties = OpenIddict.Validation.Owin.OpenIddictValidationOwinConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlerFilters.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlerFilters.cs
index 3e040ac6..00232746 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlerFilters.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlerFilters.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
using Owin;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlers.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlers.cs
index 5565dec4..cf929e9d 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlers.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHandlers.cs
@@ -4,28 +4,17 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.IO;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using Microsoft.Owin.Security;
using Owin;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
-using static OpenIddict.Validation.OpenIddictValidationHandlers;
using static OpenIddict.Validation.Owin.OpenIddictValidationOwinConstants;
-using static OpenIddict.Validation.Owin.OpenIddictValidationOwinHandlerFilters;
using Properties = OpenIddict.Validation.Owin.OpenIddictValidationOwinConstants.Properties;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHelpers.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHelpers.cs
index 6f5ee2d6..e9aed395 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHelpers.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinHelpers.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using Microsoft.Owin;
-using OpenIddict.Abstractions;
using OpenIddict.Validation;
using OpenIddict.Validation.Owin;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddleware.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddleware.cs
index 0bc65750..6ca27fa4 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddleware.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddleware.cs
@@ -5,7 +5,6 @@
*/
using Microsoft.Extensions.Options;
-using Microsoft.Owin;
using Microsoft.Owin.Security.Infrastructure;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddlewareFactory.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddlewareFactory.cs
index 79eb826b..96d426c8 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddlewareFactory.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinMiddlewareFactory.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using Microsoft.Owin;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.Owin;
diff --git a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinOptions.cs b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinOptions.cs
index 8f3ed263..ad95f5a2 100644
--- a/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinOptions.cs
+++ b/src/OpenIddict.Validation.Owin/OpenIddictValidationOwinOptions.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using Microsoft.Owin.Security;
-
namespace OpenIddict.Validation.Owin;
///
diff --git a/src/OpenIddict.Validation.ServerIntegration/OpenIddict.Validation.ServerIntegration.csproj b/src/OpenIddict.Validation.ServerIntegration/OpenIddict.Validation.ServerIntegration.csproj
index 2328cadd..6e6ac7c0 100644
--- a/src/OpenIddict.Validation.ServerIntegration/OpenIddict.Validation.ServerIntegration.csproj
+++ b/src/OpenIddict.Validation.ServerIntegration/OpenIddict.Validation.ServerIntegration.csproj
@@ -14,4 +14,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationBuilder.cs b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationBuilder.cs
index 23bf7d23..f8ae3526 100644
--- a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationBuilder.cs
+++ b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationBuilder.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using OpenIddict.Validation.ServerIntegration;
diff --git a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationConfiguration.cs b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationConfiguration.cs
index 291578d6..3aed153d 100644
--- a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationConfiguration.cs
+++ b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationConfiguration.cs
@@ -4,11 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using OpenIddict.Server;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.ServerIntegration;
diff --git a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationExtensions.cs b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationExtensions.cs
index 1f8549f5..7d0c5a5f 100644
--- a/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationExtensions.cs
+++ b/src/OpenIddict.Validation.ServerIntegration/OpenIddictValidationServerIntegrationExtensions.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddict.Validation.SystemNetHttp.csproj b/src/OpenIddict.Validation.SystemNetHttp/OpenIddict.Validation.SystemNetHttp.csproj
index 90dfd21f..1bdc2249 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddict.Validation.SystemNetHttp.csproj
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddict.Validation.SystemNetHttp.csproj
@@ -18,4 +18,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpBuilder.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpBuilder.cs
index d8e4044a..6ce2d98c 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpBuilder.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpBuilder.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Net.Http;
using OpenIddict.Validation.SystemNetHttp;
using Polly;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpConfiguration.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpConfiguration.cs
index 499c2171..0cd6f197 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpConfiguration.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpConfiguration.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
using System.Net.Http.Headers;
using Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpExtensions.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpExtensions.cs
index cf73f64c..92398e04 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpExtensions.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpExtensions.cs
@@ -4,15 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Http;
using Microsoft.Extensions.Options;
using OpenIddict.Validation;
using OpenIddict.Validation.SystemNetHttp;
-using static OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlerFilters;
-using static OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlers;
namespace Microsoft.Extensions.DependencyInjection;
@@ -38,7 +34,7 @@ public static class OpenIddictValidationSystemNetHttpExtensions
// Register the built-in validation event handlers used by the OpenIddict System.Net.Http components.
// Note: the order used here is not important, as the actual order is set in the options.
- builder.Services.TryAdd(DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
+ builder.Services.TryAdd(OpenIddictValidationSystemNetHttpHandlers.DefaultHandlers.Select(descriptor => descriptor.ServiceDescriptor));
// Register the built-in filters used by the default OpenIddict System.Net.Http event handlers.
builder.Services.TryAddSingleton();
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlerFilters.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlerFilters.cs
index 7a004f13..48555306 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlerFilters.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlerFilters.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace OpenIddict.Validation.SystemNetHttp;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Discovery.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Discovery.cs
index 5df16d46..f6ed6769 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Discovery.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Discovery.cs
@@ -5,7 +5,6 @@
*/
using System.Collections.Immutable;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace OpenIddict.Validation.SystemNetHttp;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Introspection.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Introspection.cs
index 71ddcb97..38e889c7 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Introspection.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.Introspection.cs
@@ -4,17 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
-using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
-using System.Threading.Tasks;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.SystemNetHttp;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.cs
index 21c64aec..cd1743f3 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.cs
@@ -4,22 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
-using System.Linq;
-using System.Net.Http;
using System.Net.Http.Headers;
-using System.Net.Http.Json;
using System.Text;
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.SystemNetHttp.OpenIddictValidationSystemNetHttpHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation.SystemNetHttp;
diff --git a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpOptions.cs b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpOptions.cs
index 6bf184e5..1f11611a 100644
--- a/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpOptions.cs
+++ b/src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpOptions.cs
@@ -4,9 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Net;
-using System.Net.Http;
using Polly;
using Polly.Extensions.Http;
diff --git a/src/OpenIddict.Validation/IOpenIddictValidationDispatcher.cs b/src/OpenIddict.Validation/IOpenIddictValidationDispatcher.cs
index 1fe1a08b..81743673 100644
--- a/src/OpenIddict.Validation/IOpenIddictValidationDispatcher.cs
+++ b/src/OpenIddict.Validation/IOpenIddictValidationDispatcher.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-
namespace OpenIddict.Validation;
public interface IOpenIddictValidationDispatcher
diff --git a/src/OpenIddict.Validation/IOpenIddictValidationFactory.cs b/src/OpenIddict.Validation/IOpenIddictValidationFactory.cs
index 2cbdcd90..8ac1fa25 100644
--- a/src/OpenIddict.Validation/IOpenIddictValidationFactory.cs
+++ b/src/OpenIddict.Validation/IOpenIddictValidationFactory.cs
@@ -4,8 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-
namespace OpenIddict.Validation;
public interface IOpenIddictValidationFactory
diff --git a/src/OpenIddict.Validation/IOpenIddictValidationHandler.cs b/src/OpenIddict.Validation/IOpenIddictValidationHandler.cs
index 920f9f27..e1712b3f 100644
--- a/src/OpenIddict.Validation/IOpenIddictValidationHandler.cs
+++ b/src/OpenIddict.Validation/IOpenIddictValidationHandler.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-
namespace OpenIddict.Validation;
///
diff --git a/src/OpenIddict.Validation/IOpenIddictValidationHandlerFilter.cs b/src/OpenIddict.Validation/IOpenIddictValidationHandlerFilter.cs
index 877848bd..e46cba00 100644
--- a/src/OpenIddict.Validation/IOpenIddictValidationHandlerFilter.cs
+++ b/src/OpenIddict.Validation/IOpenIddictValidationHandlerFilter.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-
namespace OpenIddict.Validation;
public interface IOpenIddictValidationHandlerFilter where TContext : BaseContext
diff --git a/src/OpenIddict.Validation/OpenIddict.Validation.csproj b/src/OpenIddict.Validation/OpenIddict.Validation.csproj
index 2f0d741c..219d7494 100644
--- a/src/OpenIddict.Validation/OpenIddict.Validation.csproj
+++ b/src/OpenIddict.Validation/OpenIddict.Validation.csproj
@@ -21,4 +21,13 @@ To use the validation feature on ASP.NET Core or OWIN/Katana, reference the Open
+
+
+
+
+
+
+
+
+
diff --git a/src/OpenIddict.Validation/OpenIddictValidationBuilder.cs b/src/OpenIddict.Validation/OpenIddictValidationBuilder.cs
index b91f8ff5..6924c292 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationBuilder.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationBuilder.cs
@@ -4,11 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
-using System.IO;
-using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
@@ -16,7 +13,6 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;
using OpenIddict.Validation;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationConfiguration.cs b/src/OpenIddict.Validation/OpenIddictValidationConfiguration.cs
index 806de529..31f2c9ab 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationConfiguration.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationConfiguration.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationDispatcher.cs b/src/OpenIddict.Validation/OpenIddictValidationDispatcher.cs
index cbc3c242..97a7521f 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationDispatcher.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationDispatcher.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationEvents.Discovery.cs b/src/OpenIddict.Validation/OpenIddictValidationEvents.Discovery.cs
index 771929c7..36cd86b6 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationEvents.Discovery.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationEvents.Discovery.cs
@@ -6,7 +6,6 @@
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationEvents.Introspection.cs b/src/OpenIddict.Validation/OpenIddictValidationEvents.Introspection.cs
index 195e7920..35959529 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationEvents.Introspection.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationEvents.Introspection.cs
@@ -5,7 +5,6 @@
*/
using System.Security.Claims;
-using OpenIddict.Abstractions;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationEvents.Protection.cs b/src/OpenIddict.Validation/OpenIddictValidationEvents.Protection.cs
index 4067b03e..c3173e30 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationEvents.Protection.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationEvents.Protection.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationEvents.cs b/src/OpenIddict.Validation/OpenIddictValidationEvents.cs
index 255e70ea..457cedba 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationEvents.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationEvents.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.ComponentModel;
using System.Security.Claims;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationExtensions.cs b/src/OpenIddict.Validation/OpenIddictValidationExtensions.cs
index 5b9be6bf..cb0e3a24 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationExtensions.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationExtensions.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OpenIddict.Validation;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
-using static OpenIddict.Validation.OpenIddictValidationHandlers;
namespace Microsoft.Extensions.DependencyInjection;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationFactory.cs b/src/OpenIddict.Validation/OpenIddictValidationFactory.cs
index 1131c615..a51a5d94 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationFactory.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationFactory.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandler.cs b/src/OpenIddict.Validation/OpenIddictValidationHandler.cs
index 54d5087c..c193e1c5 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandler.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandler.cs
@@ -4,10 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-
namespace OpenIddict.Validation;
///
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlerDescriptor.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlerDescriptor.cs
index 22e0f68d..a6dc5347 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlerDescriptor.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlerDescriptor.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlerFilters.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlerFilters.cs
index d0430645..b6cd15f6 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlerFilters.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlerFilters.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.ComponentModel;
-using System.Threading.Tasks;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Discovery.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Discovery.cs
index e8b856f1..3bf8ea3c 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Discovery.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Discovery.cs
@@ -4,13 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Threading.Tasks;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Introspection.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Introspection.cs
index 80b73e8a..0d5697f3 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Introspection.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Introspection.cs
@@ -4,17 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Globalization;
using System.Security.Claims;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.IdentityModel.JsonWebTokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Protection.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Protection.cs
index e805d53b..552bd5b6 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlers.Protection.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlers.Protection.cs
@@ -4,20 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
-using System.Linq;
using System.Security.Claims;
-using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs b/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs
index 7392b0d1..550f5de2 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHandlers.cs
@@ -4,14 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.ComponentModel;
-using System.Threading.Tasks;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using static OpenIddict.Validation.OpenIddictValidationHandlerFilters;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationHelpers.cs b/src/OpenIddict.Validation/OpenIddictValidationHelpers.cs
index cb3e123d..c9c24533 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationHelpers.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationHelpers.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
-
namespace OpenIddict.Validation;
///
diff --git a/src/OpenIddict.Validation/OpenIddictValidationOptions.cs b/src/OpenIddict.Validation/OpenIddictValidationOptions.cs
index e2e77494..92e4a2ff 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationOptions.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationOptions.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Linq;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationRetriever.cs b/src/OpenIddict.Validation/OpenIddictValidationRetriever.cs
index eb832a0e..5215e34b 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationRetriever.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationRetriever.cs
@@ -4,12 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationService.cs b/src/OpenIddict.Validation/OpenIddictValidationService.cs
index f706fea1..719371de 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationService.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationService.cs
@@ -4,18 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Diagnostics;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.Tokens;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using static OpenIddict.Validation.OpenIddictValidationEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Validation;
diff --git a/src/OpenIddict.Validation/OpenIddictValidationTransaction.cs b/src/OpenIddict.Validation/OpenIddictValidationTransaction.cs
index dc77bab8..3766eda3 100644
--- a/src/OpenIddict.Validation/OpenIddictValidationTransaction.cs
+++ b/src/OpenIddict.Validation/OpenIddictValidationTransaction.cs
@@ -4,10 +4,7 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
namespace OpenIddict.Validation;
diff --git a/test/OpenIddict.Abstractions.Tests/OpenIddict.Abstractions.Tests.csproj b/test/OpenIddict.Abstractions.Tests/OpenIddict.Abstractions.Tests.csproj
index dd768be3..678d1a6e 100644
--- a/test/OpenIddict.Abstractions.Tests/OpenIddict.Abstractions.Tests.csproj
+++ b/test/OpenIddict.Abstractions.Tests/OpenIddict.Abstractions.Tests.csproj
@@ -13,4 +13,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Abstractions.Tests/OpenIddictBuilderTests.cs b/test/OpenIddict.Abstractions.Tests/OpenIddictBuilderTests.cs
index d4707efe..86a7c7bc 100644
--- a/test/OpenIddict.Abstractions.Tests/OpenIddictBuilderTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/OpenIddictBuilderTests.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
diff --git a/test/OpenIddict.Abstractions.Tests/OpenIddictExtensionsTests.cs b/test/OpenIddict.Abstractions.Tests/OpenIddictExtensionsTests.cs
index d55e1ec9..432923f4 100644
--- a/test/OpenIddict.Abstractions.Tests/OpenIddictExtensionsTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/OpenIddictExtensionsTests.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictConverterTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictConverterTests.cs
index 1aa202fd..a27a9de5 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictConverterTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictConverterTests.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.IO;
using System.Text;
using System.Text.Json;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictExtensionsTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictExtensionsTests.cs
index 9a60d227..169b1a12 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictExtensionsTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictExtensionsTests.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
-using System.Linq;
using System.Security.Claims;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictMessageTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictMessageTests.cs
index f3536bbe..8489cc1e 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictMessageTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictMessageTests.cs
@@ -4,15 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.IO;
using System.Text;
using System.Text.Encodings.Web;
using System.Text.Json;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictParameterTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictParameterTests.cs
index 50744551..d18e89ef 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictParameterTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictParameterTests.cs
@@ -4,14 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
using System.Text;
using System.Text.Json;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictRequestTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictRequestTests.cs
index 3fe922db..efe4b426 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictRequestTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictRequestTests.cs
@@ -5,10 +5,8 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using System.Text.Json;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictResponseTests.cs b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictResponseTests.cs
index 6b6ad52c..62fb8ba1 100644
--- a/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictResponseTests.cs
+++ b/test/OpenIddict.Abstractions.Tests/Primitives/OpenIddictResponseTests.cs
@@ -5,9 +5,7 @@
* the license and the contributors participating to this project.
*/
-using System.Collections.Generic;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
namespace OpenIddict.Abstractions.Tests.Primitives;
diff --git a/test/OpenIddict.Core.Tests/OpenIddict.Core.Tests.csproj b/test/OpenIddict.Core.Tests/OpenIddict.Core.Tests.csproj
index 208889a0..7cbf938b 100644
--- a/test/OpenIddict.Core.Tests/OpenIddict.Core.Tests.csproj
+++ b/test/OpenIddict.Core.Tests/OpenIddict.Core.Tests.csproj
@@ -13,4 +13,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Core.Tests/OpenIddictCoreBuilderTests.cs b/test/OpenIddict.Core.Tests/OpenIddictCoreBuilderTests.cs
index 6896fbee..8d488b9c 100644
--- a/test/OpenIddict.Core.Tests/OpenIddictCoreBuilderTests.cs
+++ b/test/OpenIddict.Core.Tests/OpenIddictCoreBuilderTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.Core.Tests/OpenIddictCoreExtensionsTests.cs b/test/OpenIddict.Core.Tests/OpenIddictCoreExtensionsTests.cs
index a05a0148..199a0bd2 100644
--- a/test/OpenIddict.Core.Tests/OpenIddictCoreExtensionsTests.cs
+++ b/test/OpenIddict.Core.Tests/OpenIddictCoreExtensionsTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictApplicationStoreResolverTests.cs b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictApplicationStoreResolverTests.cs
index fb77907e..849e1fcb 100644
--- a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictApplicationStoreResolverTests.cs
+++ b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictApplicationStoreResolverTests.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictAuthorizationStoreResolverTests.cs b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictAuthorizationStoreResolverTests.cs
index dab40395..b8c5e133 100644
--- a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictAuthorizationStoreResolverTests.cs
+++ b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictAuthorizationStoreResolverTests.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictScopeStoreResolverTests.cs b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictScopeStoreResolverTests.cs
index 4c8a6f63..b34c7352 100644
--- a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictScopeStoreResolverTests.cs
+++ b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictScopeStoreResolverTests.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictTokenStoreResolverTests.cs b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictTokenStoreResolverTests.cs
index d12633c3..e7e273ab 100644
--- a/test/OpenIddict.Core.Tests/Resolvers/OpenIddictTokenStoreResolverTests.cs
+++ b/test/OpenIddict.Core.Tests/Resolvers/OpenIddictTokenStoreResolverTests.cs
@@ -4,12 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Core.Tests;
diff --git a/test/OpenIddict.EntityFramework.Tests/OpenIddict.EntityFramework.Tests.csproj b/test/OpenIddict.EntityFramework.Tests/OpenIddict.EntityFramework.Tests.csproj
index 3a564a24..6c556edb 100644
--- a/test/OpenIddict.EntityFramework.Tests/OpenIddict.EntityFramework.Tests.csproj
+++ b/test/OpenIddict.EntityFramework.Tests/OpenIddict.EntityFramework.Tests.csproj
@@ -13,4 +13,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkBuilderTests.cs b/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkBuilderTests.cs
index 8308bcb7..27f3646a 100644
--- a/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkBuilderTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkBuilderTests.cs
@@ -4,14 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Data.Entity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using OpenIddict.Core;
using OpenIddict.EntityFramework.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework.Tests;
diff --git a/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkExtensionsTests.cs b/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkExtensionsTests.cs
index 6e533a1f..fdbbb581 100644
--- a/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkExtensionsTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/OpenIddictEntityFrameworkExtensionsTests.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
using OpenIddict.EntityFramework.Models;
using Xunit;
diff --git a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolverTests.cs b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolverTests.cs
index 61acef4f..c71c973f 100644
--- a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Data.Entity;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using Xunit;
using static OpenIddict.EntityFramework.OpenIddictEntityFrameworkApplicationStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework.Tests;
diff --git a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolverTests.cs b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolverTests.cs
index fbc13807..2f6a1425 100644
--- a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkAuthorizationStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Data.Entity;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using Xunit;
using static OpenIddict.EntityFramework.OpenIddictEntityFrameworkAuthorizationStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework.Tests;
diff --git a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkScopeStoreResolverTests.cs b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkScopeStoreResolverTests.cs
index 68b6d3b7..44f8a1a4 100644
--- a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkScopeStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkScopeStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Data.Entity;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using Xunit;
using static OpenIddict.EntityFramework.OpenIddictEntityFrameworkScopeStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework.Tests;
diff --git a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkTokenStoreResolverTests.cs b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkTokenStoreResolverTests.cs
index 7eeacca1..4f1ef005 100644
--- a/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkTokenStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkTokenStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Data.Entity;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFramework.Models;
using Xunit;
using static OpenIddict.EntityFramework.OpenIddictEntityFrameworkTokenStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFramework.Tests;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddict.EntityFrameworkCore.Tests.csproj b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddict.EntityFrameworkCore.Tests.csproj
index 97d9ce43..d1ff911f 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddict.EntityFrameworkCore.Tests.csproj
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddict.EntityFrameworkCore.Tests.csproj
@@ -12,4 +12,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreBuilderTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreBuilderTests.cs
index 87f26ecf..d82c06f7 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreBuilderTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreBuilderTests.cs
@@ -4,14 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore.Tests;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreExtensionsTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreExtensionsTests.cs
index aaee7706..56cc3e6b 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreExtensionsTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreExtensionsTests.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreHelpersTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreHelpersTests.cs
index a0585236..beb213d1 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreHelpersTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/OpenIddictEntityFrameworkCoreHelpersTests.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
using Moq;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolverTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolverTests.cs
index 0fb44c7e..2f124fe9 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreApplicationStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
using static OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreApplicationStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore.Tests;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolverTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolverTests.cs
index 7fc40820..08a728c9 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreAuthorizationStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
using static OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreAuthorizationStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore.Tests;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolverTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolverTests.cs
index c9105e58..9877c4c9 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreScopeStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
using static OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreScopeStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore.Tests;
diff --git a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolverTests.cs b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolverTests.cs
index b6836d0f..d6b1d389 100644
--- a/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolverTests.cs
+++ b/test/OpenIddict.EntityFrameworkCore.Tests/Resolvers/OpenIddictEntityFrameworkCoreTokenStoreResolverTests.cs
@@ -4,17 +4,14 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.EntityFrameworkCore.Models;
using Xunit;
using static OpenIddict.EntityFrameworkCore.OpenIddictEntityFrameworkCoreTokenStoreResolver;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.EntityFrameworkCore.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/OpenIddict.MongoDb.Tests.csproj b/test/OpenIddict.MongoDb.Tests/OpenIddict.MongoDb.Tests.csproj
index 105cfa1a..4f7afad3 100644
--- a/test/OpenIddict.MongoDb.Tests/OpenIddict.MongoDb.Tests.csproj
+++ b/test/OpenIddict.MongoDb.Tests/OpenIddict.MongoDb.Tests.csproj
@@ -15,4 +15,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbBuilderTests.cs b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbBuilderTests.cs
index 1350e50f..0f62bfcf 100644
--- a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbBuilderTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbBuilderTests.cs
@@ -4,7 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
@@ -12,7 +11,6 @@ using Moq;
using OpenIddict.Core;
using OpenIddict.MongoDb.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbContextTests.cs b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbContextTests.cs
index fb06ce0e..494efd70 100644
--- a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbContextTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbContextTests.cs
@@ -4,15 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using Moq;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbExtensionsTests.cs b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbExtensionsTests.cs
index 56f5a9a6..7b089086 100644
--- a/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbExtensionsTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbExtensionsTests.cs
@@ -4,10 +4,8 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
using OpenIddict.MongoDb.Models;
using Xunit;
diff --git a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbApplicationStoreResolverTests.cs b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbApplicationStoreResolverTests.cs
index 26c5a076..53deabfb 100644
--- a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbApplicationStoreResolverTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbApplicationStoreResolverTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbAuthorizationStoreResolverTests.cs b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbAuthorizationStoreResolverTests.cs
index b405ca65..ae9f5ba7 100644
--- a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbAuthorizationStoreResolverTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbAuthorizationStoreResolverTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbScopeStoreResolverTests.cs b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbScopeStoreResolverTests.cs
index d936ef37..ba4a4674 100644
--- a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbScopeStoreResolverTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbScopeStoreResolverTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbTokenStoreResolverTests.cs b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbTokenStoreResolverTests.cs
index ca6f4e0e..2ff9911f 100644
--- a/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbTokenStoreResolverTests.cs
+++ b/test/OpenIddict.MongoDb.Tests/Resolvers/OpenIddictMongoDbTokenStoreResolverTests.cs
@@ -4,14 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.MongoDb.Models;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.MongoDb.Tests;
diff --git a/test/OpenIddict.Quartz.Tests/OpenIddict.Quartz.Tests.csproj b/test/OpenIddict.Quartz.Tests/OpenIddict.Quartz.Tests.csproj
index a11fcaf3..37ad737d 100644
--- a/test/OpenIddict.Quartz.Tests/OpenIddict.Quartz.Tests.csproj
+++ b/test/OpenIddict.Quartz.Tests/OpenIddict.Quartz.Tests.csproj
@@ -13,4 +13,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzBuilderTests.cs b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzBuilderTests.cs
index 2204e28c..c88a1636 100644
--- a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzBuilderTests.cs
+++ b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzBuilderTests.cs
@@ -1,8 +1,6 @@
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Quartz.Tests;
diff --git a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs
index 0dd933d2..0fbd4428 100644
--- a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs
+++ b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs
@@ -1,4 +1,3 @@
-using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Quartz;
diff --git a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzJobTests.cs b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzJobTests.cs
index 1e6b46c2..3c269f59 100644
--- a/test/OpenIddict.Quartz.Tests/OpenIddictQuartzJobTests.cs
+++ b/test/OpenIddict.Quartz.Tests/OpenIddictQuartzJobTests.cs
@@ -1,13 +1,8 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using Quartz;
using Xunit;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Quartz.Tests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddict.Server.AspNetCore.IntegrationTests.csproj b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddict.Server.AspNetCore.IntegrationTests.csproj
index 0680a555..c3432720 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddict.Server.AspNetCore.IntegrationTests.csproj
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddict.Server.AspNetCore.IntegrationTests.csproj
@@ -17,4 +17,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs
index 739d6bdd..81a12fd1 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs
@@ -5,7 +5,6 @@
*/
using System.Diagnostics.CodeAnalysis;
-using System.Threading.Tasks;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Hosting;
using OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Authentication.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Authentication.cs
index 407fdedb..f8675fc9 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Authentication.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Authentication.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Exchange.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Exchange.cs
index 5c03b299..836a01d7 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Exchange.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Exchange.cs
@@ -5,15 +5,11 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.Net.Http.Headers;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Introspection.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Introspection.cs
index bd0a7c45..893ac784 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Introspection.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Introspection.cs
@@ -4,15 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.Net.Http.Headers;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Revocation.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Revocation.cs
index bc839988..b9c1f5fb 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Revocation.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Revocation.cs
@@ -4,15 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.Net.Http.Headers;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Session.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Session.cs
index be73fc9b..875caa01 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Session.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.Session.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.cs b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.cs
index 79f2e487..86decc06 100644
--- a/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.cs
+++ b/test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTests.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
-using System.Linq;
using System.Security.Claims;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
@@ -19,16 +15,12 @@ using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
using Xunit.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.AspNetCore.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddict.Server.IntegrationTests.csproj b/test/OpenIddict.Server.IntegrationTests/OpenIddict.Server.IntegrationTests.csproj
index f91f91a6..9c54f128 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddict.Server.IntegrationTests.csproj
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddict.Server.IntegrationTests.csproj
@@ -27,4 +27,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestClient.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestClient.cs
index b60c3eb9..4bc8460a 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestClient.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestClient.cs
@@ -4,19 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Text.Encodings.Web;
-using System.Threading.Tasks;
using AngleSharp.Html.Parser;
using Microsoft.Extensions.Primitives;
-using OpenIddict.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestServer.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestServer.cs
index 6c35c0e5..1dde11ac 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestServer.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTestServer.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Threading.Tasks;
-
namespace OpenIddict.Server.IntegrationTests;
///
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Authentication.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Authentication.cs
index 8ffa6103..51eb59d7 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Authentication.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Authentication.cs
@@ -4,20 +4,12 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Linq;
-using System.Net.Http;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Device.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Device.cs
index b9015b99..b02fdbc6 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Device.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Device.cs
@@ -4,21 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Linq;
-using System.Net.Http;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Discovery.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Discovery.cs
index 85251dd3..d09162ca 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Discovery.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Discovery.cs
@@ -4,19 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Net.Http;
using System.Security.Cryptography;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Exchange.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Exchange.cs
index 867d3b11..9d0345fc 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Exchange.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Exchange.cs
@@ -4,22 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Linq;
-using System.Net.Http;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Introspection.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Introspection.cs
index 8c2b04eb..a26847cf 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Introspection.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Introspection.cs
@@ -4,23 +4,15 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Net.Http;
using System.Security.Claims;
using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.JsonWebTokens;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Introspection;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs
index 274d60c9..05e17186 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs
@@ -6,16 +6,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
using System.Security.Claims;
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs
index e58a0d59..a0fbd511 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs
@@ -4,20 +4,13 @@
* the license and the contributors participating to this project.
*/
-using System.Net.Http;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
using static OpenIddict.Server.OpenIddictServerHandlers.Revocation;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs
index ca6515ae..498971d7 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs
@@ -4,17 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System.Linq;
-using System.Net.Http;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Userinfo.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Userinfo.cs
index e816f907..5eb05126 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Userinfo.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Userinfo.cs
@@ -4,18 +4,11 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Collections.Immutable;
-using System.Net.Http;
using System.Security.Claims;
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.cs b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.cs
index 56cd0305..d6bd375e 100644
--- a/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.cs
+++ b/test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.cs
@@ -6,22 +6,16 @@
* the license and the contributors participating to this project.
*/
-using System;
using System.Security.Claims;
-using System.Threading;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
-using OpenIddict.Abstractions;
using OpenIddict.Core;
using Xunit;
using Xunit.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddict.Server.Owin.IntegrationTests.csproj b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddict.Server.Owin.IntegrationTests.csproj
index 9e0afed0..2f00d541 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddict.Server.Owin.IntegrationTests.csproj
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddict.Server.Owin.IntegrationTests.csproj
@@ -17,4 +17,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs
index 0eaf2c9c..2bd5c3b9 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs
@@ -5,7 +5,6 @@
*/
using System.Diagnostics.CodeAnalysis;
-using System.Threading.Tasks;
using Microsoft.Owin.Testing;
using OpenIddict.Server.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Authentication.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Authentication.cs
index e2cf8b6c..c22b9528 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Authentication.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Authentication.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Exchange.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Exchange.cs
index 978a5e10..7f87161f 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Exchange.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Exchange.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Owin;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Introspection.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Introspection.cs
index 9975405f..a68e918c 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Introspection.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Introspection.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Owin;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Revocation.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Revocation.cs
index 072dfd84..800a7acc 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Revocation.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Revocation.cs
@@ -4,14 +4,10 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Owin;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs
index 33605c2d..1dbb272b 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.Session.cs
@@ -4,13 +4,9 @@
* the license and the contributors participating to this project.
*/
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.cs b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.cs
index e8bb40fa..a0d14308 100644
--- a/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.cs
+++ b/test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTests.cs
@@ -4,29 +4,21 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
-using System.Linq;
using System.Security.Claims;
using System.Text.Json;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Testing;
-using OpenIddict.Abstractions;
using OpenIddict.Server.IntegrationTests;
using Owin;
using Xunit;
using Xunit.Abstractions;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using static OpenIddict.Server.OpenIddictServerHandlers;
using static OpenIddict.Server.OpenIddictServerHandlers.Protection;
using static OpenIddict.Server.Owin.OpenIddictServerOwinHandlers;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Owin.IntegrationTests;
diff --git a/test/OpenIddict.Server.Tests/OpenIddict.Server.Tests.csproj b/test/OpenIddict.Server.Tests/OpenIddict.Server.Tests.csproj
index c8bd8f3a..47f29f71 100644
--- a/test/OpenIddict.Server.Tests/OpenIddict.Server.Tests.csproj
+++ b/test/OpenIddict.Server.Tests/OpenIddict.Server.Tests.csproj
@@ -21,4 +21,10 @@
+
+
+
+
+
+
diff --git a/test/OpenIddict.Server.Tests/OpenIddictServerBuilderTests.cs b/test/OpenIddict.Server.Tests/OpenIddictServerBuilderTests.cs
index e9f5161e..fc8c684f 100644
--- a/test/OpenIddict.Server.Tests/OpenIddictServerBuilderTests.cs
+++ b/test/OpenIddict.Server.Tests/OpenIddictServerBuilderTests.cs
@@ -1,18 +1,12 @@
-using System;
using System.Globalization;
using System.Reflection;
-using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
-using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using Moq;
-using OpenIddict.Abstractions;
using Xunit;
-using static OpenIddict.Abstractions.OpenIddictConstants;
using static OpenIddict.Server.OpenIddictServerEvents;
-using SR = OpenIddict.Abstractions.OpenIddictResources;
namespace OpenIddict.Server.Tests;
diff --git a/test/OpenIddict.Server.Tests/OpenIddictServerExtensionsTests.cs b/test/OpenIddict.Server.Tests/OpenIddictServerExtensionsTests.cs
index 0e72b04f..cc991de8 100644
--- a/test/OpenIddict.Server.Tests/OpenIddictServerExtensionsTests.cs
+++ b/test/OpenIddict.Server.Tests/OpenIddictServerExtensionsTests.cs
@@ -4,9 +4,6 @@
* the license and the contributors participating to this project.
*/
-using System;
-using System.Collections.Generic;
-using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;