Remove unused usings

This commit is contained in:
Joe DeCock 2025-03-01 18:31:53 +00:00
parent cb26b8d015
commit 511f1d5a7d
893 changed files with 4 additions and 2346 deletions

View file

@ -1,6 +1,5 @@
@using Duende.Bff.Blazor.Client
@using Microsoft.Extensions.Options
@using Duende.Bff
@rendermode InteractiveAuto

View file

@ -1,4 +1,3 @@
using Aspire.Hosting;
using Hosts.ServiceDefaults;
using Projects;

View file

@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hosts.ServiceDefaults;
public static class AppHostServices
{

View file

@ -5,7 +5,6 @@ using Duende.Bff;
using Duende.Bff.EntityFramework;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using System;
namespace Microsoft.Extensions.DependencyInjection;

View file

@ -2,8 +2,6 @@
// See LICENSE in the project root for license information.
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using System.Threading;
namespace Duende.Bff.EntityFramework;

View file

@ -3,7 +3,6 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
namespace Duende.Bff.EntityFramework;

View file

@ -7,11 +7,6 @@ using Microsoft.AspNetCore.DataProtection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff.EntityFramework;

View file

@ -1,11 +1,7 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using Duende.AccessTokenManagement;
using Duende.Bff.Logging;
using Microsoft.Extensions.Logging;

View file

@ -1,13 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Threading.Tasks;
using Duende.Bff.Logging;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;

View file

@ -3,7 +3,6 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Duende.Bff.Yarp;

View file

@ -4,7 +4,6 @@
using Duende.Bff;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System;
using Duende.Bff.Yarp;
using Microsoft.Extensions.DependencyInjection;
using Yarp.ReverseProxy.Transforms.Builder;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
namespace Duende.Bff.Yarp.Logging;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Collections.Generic;
using Yarp.ReverseProxy.Configuration;
namespace Duende.Bff.Yarp;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;

View file

@ -1,12 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Duende.Bff;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Duende;

View file

@ -3,8 +3,6 @@
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
namespace Duende.Bff;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Linq;
using Duende.Bff;
namespace Microsoft.AspNetCore.Builder;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -4,7 +4,6 @@
using Duende.Bff;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Options;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;

View file

@ -2,8 +2,6 @@
// See LICENSE in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
namespace Microsoft.AspNetCore.Builder;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -4,7 +4,6 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Builder;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading.Tasks;
using Duende.Bff.Logging;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -9,12 +9,8 @@ using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Linq;
using System.Security.Claims;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Duende.Bff.Logging;
namespace Duende.Bff;

View file

@ -3,7 +3,6 @@
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;

View file

@ -2,7 +2,6 @@
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,9 +5,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -6,9 +6,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -3,7 +3,6 @@
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -7,7 +7,6 @@ using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Text;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,8 +5,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,8 +5,6 @@ using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text.Json;
using System.Text.Json.Serialization;

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Linq;
using System.Threading.Tasks;
using Duende.AccessTokenManagement;
using Duende.AccessTokenManagement.OpenIdConnect;
using Duende.IdentityModel;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.AspNetCore.Http;

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Duende.Bff;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading.Tasks;
namespace Duende.Bff;
/// <summary>

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading.Tasks;
namespace Duende.Bff;
/// <summary>

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Threading.Tasks;
namespace Duende.Bff;
class LocalUrlReturnUrlValidator : IReturnUrlValidator

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
namespace Duende.Bff.Logging;

View file

@ -3,7 +3,6 @@
#nullable disable
using System;
using System.Security.Claims;
using System.Text.Json;
using System.Text.Json.Serialization;

View file

@ -5,9 +5,6 @@
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Claims;
using System.Security.Cryptography;
using Microsoft.IdentityModel.JsonWebTokens;

View file

@ -5,7 +5,6 @@
using Duende.Bff;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Duende;

View file

@ -6,8 +6,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,8 +5,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,8 +5,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace Duende.Bff
{

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;
/// <summary>

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Duende.Bff;

View file

@ -3,10 +3,6 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.Extensions.Options;

View file

@ -1,10 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;
/// <summary>

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;
/// <summary>

View file

@ -1,12 +1,7 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -5,9 +5,6 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
namespace Duende.Bff;
/// <summary>

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;

View file

@ -3,9 +3,6 @@
#nullable disable
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;

View file

@ -3,7 +3,6 @@
#nullable disable
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;

View file

@ -1,4 +1,3 @@
using Duende.Bff.Yarp;
using Serilog;
namespace BffLocalApi;

View file

@ -7,7 +7,6 @@ using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using NSubstitute;
using Shouldly;
namespace Duende.Bff.Blazor.UnitTests;

View file

@ -5,11 +5,7 @@ using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints

View file

@ -3,11 +3,7 @@
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -3,11 +3,7 @@
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -3,11 +3,7 @@
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -2,13 +2,9 @@
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Shouldly;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -3,11 +3,7 @@
using Duende.Bff.Tests.TestHosts;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Duende.Bff.Tests.TestFramework;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints

View file

@ -4,9 +4,6 @@
using Duende.Bff.Tests.TestFramework;
using Microsoft.AspNetCore.Builder;
using System.Net;
using System.Threading.Tasks;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests

View file

@ -1,11 +1,6 @@
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Headers

View file

@ -1,11 +1,6 @@
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Headers

View file

@ -1,11 +1,6 @@
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Headers

View file

@ -1,16 +1,12 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
using Xunit;
using Xunit.Abstractions;
using Microsoft.Extensions.Logging.Abstractions;
using Shouldly;
namespace Duende.Bff.Tests;

View file

@ -2,14 +2,9 @@
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using Shouldly;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Time.Testing;
using System;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;

View file

@ -3,11 +3,7 @@
using Duende.Bff.Tests.TestHosts;
using Duende.IdentityServer.Stores;
using Shouldly;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.SessionManagement

View file

@ -2,11 +2,7 @@
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using Shouldly;
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.SessionManagement

View file

@ -1,10 +1,7 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text.Json;
using Shouldly;
namespace Duende.Bff.Tests.TestFramework
{

View file

@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Shouldly;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
@ -9,12 +8,8 @@ using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.HttpOverrides;
namespace Duende.Bff.Tests.TestFramework

View file

@ -2,7 +2,6 @@
// See LICENSE in the project root for license information.
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Duende.Bff.Tests.TestFramework
{
public class MockSessionRevocationService : ISessionRevocationService

View file

@ -1,14 +1,8 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Shouldly;
namespace Duende.Bff.Tests.TestFramework;

View file

@ -1,18 +1,12 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using Duende.Bff.Tests.TestFramework;
using Duende.IdentityServer.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System.IO;
using System.Linq;
using System.Text.Json;
using Duende.IdentityServer.Extensions;
using Microsoft.AspNetCore.HttpOverrides;
namespace Duende.Bff.Tests.TestHosts
{

View file

@ -2,22 +2,13 @@
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestFramework;
using Shouldly;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Yarp.ReverseProxy.Forwarder;
using Yarp.ReverseProxy.Transforms;
using Yarp.ReverseProxy.Transforms.Builder;

View file

@ -1,18 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Duende.Bff.Tests.TestFramework;
using Shouldly;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Authentication;

View file

@ -1,8 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Threading.Tasks;
namespace Duende.Bff.Tests.TestHosts;
public class FailureAccessTokenRetriever : IAccessTokenRetriever

View file

@ -9,10 +9,7 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Duende.Bff.Tests.TestHosts;

View file

@ -1,9 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Threading.Tasks;
namespace Duende.Bff.Tests.TestHosts;
public class TestAccessTokenRetriever : IAccessTokenRetriever

View file

@ -1,19 +1,12 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using Yarp.ReverseProxy.Configuration;
using Yarp.ReverseProxy.Forwarder;

View file

@ -1,14 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System;
using Duende.IdentityServer.Models;
using Duende.IdentityServer.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Security.Claims;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.TestHosts

View file

@ -1,8 +1,6 @@
using Hosts.ServiceDefaults;
using Hosts.Tests.PageModels;
using Hosts.Tests.TestInfra;
using Microsoft.Playwright;
using System.Net.Http;
using Xunit.Abstractions;
namespace Hosts.Tests;

View file

@ -1,6 +1,5 @@
using Hosts.ServiceDefaults;
using Hosts.Tests.TestInfra;
using Shouldly;
using Xunit.Abstractions;
namespace Hosts.Tests;

View file

@ -1,5 +1,4 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Playwright;
using Microsoft.Playwright;
namespace Hosts.Tests.PageModels;

View file

@ -4,7 +4,6 @@
using System.Text.Json;
using AngleSharp;
using AngleSharp.Html.Dom;
using Shouldly;
namespace Hosts.Tests.TestInfra;

View file

@ -1,9 +1,6 @@
using Clients;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
namespace DPoPApi
{

View file

@ -1,5 +1,4 @@
using System;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;

View file

@ -1,4 +1,3 @@
using System.IdentityModel.Tokens.Jwt;
using Clients;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

View file

@ -4,11 +4,9 @@ using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
using System.Security.Claims;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;

View file

@ -1,6 +1,4 @@
using System;
using System.Net.Http;
using System.Text.Json;
using System.Text.Json;
using Clients;
using Duende.IdentityModel.Client;

Some files were not shown because too many files have changed in this diff Show more