Browse Source

Remove unnecessary usings

pull/1910/head
Kévin Chalet 2 years ago
parent
commit
f36d9b5471
  1. 3
      sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/BundleConfig.cs
  2. 3
      sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/FilterConfig.cs
  3. 6
      sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/RouteConfig.cs
  4. 6
      sandbox/OpenIddict.Sandbox.AspNet.Client/Global.asax.cs
  5. 3
      sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/BundleConfig.cs
  6. 3
      sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/FilterConfig.cs
  7. 4
      sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/IdentityConfig.cs
  8. 5
      sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/AccountController.cs
  9. 6
      sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/HomeController.cs
  10. 3
      sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/ManageController.cs
  11. 2
      src/OpenIddict.Client.Owin/OpenIddictClientOwinHandler.cs
  12. 1
      src/OpenIddict.Client/OpenIddictClientBuilder.cs
  13. 2
      src/OpenIddict.Client/OpenIddictClientEvents.Exchange.cs
  14. 1
      test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs
  15. 1
      test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs
  16. 1
      test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs
  17. 1
      test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs
  18. 1
      test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs
  19. 1
      test/OpenIddict.Validation.AspNetCore.IntegrationTests/OpenIddictValidationAspNetCoreIntegrationTestServer.cs
  20. 1
      test/OpenIddict.Validation.AspNetCore.IntegrationTests/OpenIddictValidationAspNetCoreIntegrationTests.cs
  21. 1
      test/OpenIddict.Validation.Owin.IntegrationTests/OpenIddictValidationOwinIntegrationTestServer.cs
  22. 1
      test/OpenIddict.Validation.Owin.IntegrationTests/OpenIddictValidationOwinIntegrationTests.cs

3
sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/BundleConfig.cs

@ -1,5 +1,4 @@
using System.Web; using System.Web.Optimization;
using System.Web.Optimization;
namespace OpenIddict.Sandbox.AspNet.Client namespace OpenIddict.Sandbox.AspNet.Client
{ {

3
sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/FilterConfig.cs

@ -1,5 +1,4 @@
using System.Web; using System.Web.Mvc;
using System.Web.Mvc;
namespace OpenIddict.Sandbox.AspNet.Client namespace OpenIddict.Sandbox.AspNet.Client
{ {

6
sandbox/OpenIddict.Sandbox.AspNet.Client/App_Start/RouteConfig.cs

@ -1,8 +1,4 @@
using System; using System.Web.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing; using System.Web.Routing;
namespace OpenIddict.Sandbox.AspNet.Client namespace OpenIddict.Sandbox.AspNet.Client

6
sandbox/OpenIddict.Sandbox.AspNet.Client/Global.asax.cs

@ -1,8 +1,4 @@
using System; using System.Web.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization; using System.Web.Optimization;
using System.Web.Routing; using System.Web.Routing;

3
sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/BundleConfig.cs

@ -1,5 +1,4 @@
using System.Web; using System.Web.Optimization;
using System.Web.Optimization;
namespace OpenIddict.Sandbox.AspNet.Server namespace OpenIddict.Sandbox.AspNet.Server
{ {

3
sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/FilterConfig.cs

@ -1,5 +1,4 @@
using System.Web; using System.Web.Mvc;
using System.Web.Mvc;
namespace OpenIddict.Sandbox.AspNet.Server namespace OpenIddict.Sandbox.AspNet.Server
{ {

4
sandbox/OpenIddict.Sandbox.AspNet.Server/App_Start/IdentityConfig.cs

@ -1,10 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity.Owin;

5
sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/AccountController.cs

@ -1,7 +1,4 @@
using System; using System.Linq;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web; using System.Web;
using System.Web.Mvc; using System.Web.Mvc;

6
sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/HomeController.cs

@ -1,8 +1,4 @@
using System; using System.Web.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OpenIddict.Sandbox.AspNet.Server.Controllers namespace OpenIddict.Sandbox.AspNet.Server.Controllers
{ {

3
sandbox/OpenIddict.Sandbox.AspNet.Server/Controllers/ManageController.cs

@ -1,5 +1,4 @@
using System; using System.Linq;
using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web; using System.Web;
using System.Web.Mvc; using System.Web.Mvc;

2
src/OpenIddict.Client.Owin/OpenIddictClientOwinHandler.cs

@ -6,14 +6,12 @@
using System.Collections.Immutable; using System.Collections.Immutable;
using System.ComponentModel; using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using System.Globalization; using System.Globalization;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Security.Claims; using System.Security.Claims;
using System.Text.Json; using System.Text.Json;
using Microsoft.Owin.Security.Infrastructure; using Microsoft.Owin.Security.Infrastructure;
using OpenIddict.Extensions;
using static OpenIddict.Client.Owin.OpenIddictClientOwinConstants; using static OpenIddict.Client.Owin.OpenIddictClientOwinConstants;
using Properties = OpenIddict.Client.Owin.OpenIddictClientOwinConstants.Properties; using Properties = OpenIddict.Client.Owin.OpenIddictClientOwinConstants.Properties;

1
src/OpenIddict.Client/OpenIddictClientBuilder.cs

@ -8,7 +8,6 @@ using System.ComponentModel;
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using System.Reflection; using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security.Claims; using System.Security.Claims;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.X509Certificates;

2
src/OpenIddict.Client/OpenIddictClientEvents.Exchange.cs

@ -4,8 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Security.Claims;
namespace OpenIddict.Client; namespace OpenIddict.Client;
public static partial class OpenIddictClientEvents public static partial class OpenIddictClientEvents

1
test/OpenIddict.Server.AspNetCore.IntegrationTests/OpenIddictServerAspNetCoreIntegrationTestServer.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.TestHost;
using OpenIddict.Server.IntegrationTests; using OpenIddict.Server.IntegrationTests;

1
test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Protection.cs

@ -6,7 +6,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Collections.Immutable;
using System.Security.Claims; using System.Security.Claims;
using Xunit; using Xunit;
using static OpenIddict.Server.OpenIddictServerEvents; using static OpenIddict.Server.OpenIddictServerEvents;

1
test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Revocation.cs

@ -7,7 +7,6 @@
using System.Net.Http; using System.Net.Http;
using System.Security.Claims; using System.Security.Claims;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq; using Moq;
using Xunit; using Xunit;
using static OpenIddict.Server.OpenIddictServerEvents; using static OpenIddict.Server.OpenIddictServerEvents;

1
test/OpenIddict.Server.IntegrationTests/OpenIddictServerIntegrationTests.Session.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Collections.Immutable;
using System.Net.Http; using System.Net.Http;
using System.Security.Claims; using System.Security.Claims;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;

1
test/OpenIddict.Server.Owin.IntegrationTests/OpenIddictServerOwinIntegrationTestServer.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using Microsoft.Owin.Testing; using Microsoft.Owin.Testing;
using OpenIddict.Server.IntegrationTests; using OpenIddict.Server.IntegrationTests;

1
test/OpenIddict.Validation.AspNetCore.IntegrationTests/OpenIddictValidationAspNetCoreIntegrationTestServer.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.TestHost; using Microsoft.AspNetCore.TestHost;
using OpenIddict.Validation.IntegrationTests; using OpenIddict.Validation.IntegrationTests;

1
test/OpenIddict.Validation.AspNetCore.IntegrationTests/OpenIddictValidationAspNetCoreIntegrationTests.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using System.Security.Claims; using System.Security.Claims;
using System.Text.Json; using System.Text.Json;
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication;

1
test/OpenIddict.Validation.Owin.IntegrationTests/OpenIddictValidationOwinIntegrationTestServer.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using Microsoft.Owin.Testing; using Microsoft.Owin.Testing;
using OpenIddict.Validation.IntegrationTests; using OpenIddict.Validation.IntegrationTests;

1
test/OpenIddict.Validation.Owin.IntegrationTests/OpenIddictValidationOwinIntegrationTests.cs

@ -4,7 +4,6 @@
* the license and the contributors participating to this project. * the license and the contributors participating to this project.
*/ */
using System.Diagnostics.CodeAnalysis;
using System.Security.Claims; using System.Security.Claims;
using System.Text.Json; using System.Text.Json;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;

Loading…
Cancel
Save