Sort using directives in solution

This commit is contained in:
Joe DeCock 2025-03-01 18:45:48 +00:00
parent 284a38ea78
commit fcaf4bf2f8
500 changed files with 929 additions and 927 deletions

View file

@ -2,7 +2,10 @@
# Copyright Header
file_header_template=Copyright (c) Duende Software. All rights reserved.\nSee LICENSE in the project root for license information.
dotnet_diagnostic.IDE0073.severity=warning
dotnet_diagnostic.IDE0073.severity = warning
# Unnecessary Using
dotnet_diagnostic.IDE0005.severity=warning

View file

@ -1,10 +1,10 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Hosts.Bff.Blazor.PerComponent.Client
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using Hosts.Bff.Blazor.PerComponent.Client
@using static Microsoft.AspNetCore.Components.Web.RenderMode

View file

@ -1,13 +1,13 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Hosts.Bff.Blazor.PerComponent
@using Hosts.Bff.Blazor.PerComponent.Client
@using Hosts.Bff.Blazor.PerComponent.Client.Components
@using Hosts.Bff.Blazor.PerComponent.Components
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using Hosts.Bff.Blazor.PerComponent
@using Hosts.Bff.Blazor.PerComponent.Components
@using Hosts.Bff.Blazor.PerComponent.Client
@using Hosts.Bff.Blazor.PerComponent.Client.Components
@using static Microsoft.AspNetCore.Components.Web.RenderMode

View file

@ -1,9 +1,9 @@
using Hosts.Bff.Blazor.PerComponent.Components;
using Duende.Bff;
using Duende.Bff.Blazor;
using Duende.Bff.Yarp;
using Hosts.Bff.Blazor.PerComponent;
using Hosts.Bff.Blazor.PerComponent.Client;
using Hosts.Bff.Blazor.PerComponent.Components;
var builder = WebApplication.CreateBuilder(args);

View file

@ -1,12 +1,12 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Hosts.Bff.Blazor.WebAssembly.Client
@using Hosts.Bff.Blazor.WebAssembly.Client.Components
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using Hosts.Bff.Blazor.WebAssembly.Client
@using Hosts.Bff.Blazor.WebAssembly.Client.Components
@using static Microsoft.AspNetCore.Components.Web.RenderMode

View file

@ -1,11 +1,11 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using Hosts.Bff.Blazor.WebAssembly
@using Hosts.Bff.Blazor.WebAssembly.Client
@using Hosts.Bff.Blazor.WebAssembly.Components
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using static Microsoft.AspNetCore.Components.Web.RenderMode

View file

@ -1,7 +1,7 @@
using Duende.IdentityModel;
using Duende.IdentityServer.Events;
using Duende.IdentityServer.Extensions;
using Duende.IdentityServer.Services;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

View file

@ -1,9 +1,9 @@
using Duende.IdentityModel;
using Duende.IdentityServer.Events;
using Duende.IdentityServer.Extensions;
using Duende.IdentityServer.Models;
using Duende.IdentityServer.Services;
using Duende.IdentityServer.Validation;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

View file

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Authorization;
namespace IdentityServerHost.Pages.Diagnostics
{

View file

@ -2,10 +2,10 @@
// See LICENSE in the project root for license information.
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using System.Text;
using System.Text.Json;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
namespace IdentityServerHost.Pages.Diagnostics
{

View file

@ -1,9 +1,9 @@
using System.Security.Claims;
using Duende.IdentityModel;
using Duende.IdentityServer;
using Duende.IdentityServer.Events;
using Duende.IdentityServer.Services;
using Duende.IdentityServer.Test;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

View file

@ -2,9 +2,9 @@
// See LICENSE in the project root for license information.
using Duende.IdentityModel;
using System.Security.Claims;
using System.Text.Json;
using Duende.IdentityModel;
using Duende.IdentityServer;
using Duende.IdentityServer.Test;

View file

@ -1,6 +1,6 @@
using Duende.IdentityModel;
using Duende.IdentityServer.Models;
using Duende.IdentityServer.Validation;
using Duende.IdentityModel;
namespace IdentityServerHost;

View file

@ -1,6 +1,6 @@
using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Options;
using System;
namespace Api.DPoP;

View file

@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.IdentityModel.Tokens;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
namespace Api.DPoP;

View file

@ -1,10 +1,10 @@
using System.Text;
using System.Threading.Tasks;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using static Duende.IdentityModel.OidcConstants;
namespace Api.DPoP;

View file

@ -1,9 +1,3 @@
using Duende.IdentityModel;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
@ -11,6 +5,12 @@ using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.IdentityModel;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
namespace Api.DPoP;

View file

@ -1,7 +1,7 @@
using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
namespace Api.DPoP;

View file

@ -1,6 +1,6 @@
using Microsoft.Extensions.Caching.Distributed;
using System;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
namespace Api.DPoP;

View file

@ -1,10 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Api.DPoP
{

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Api.DPoP

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Api.Isolated
{

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Api.Isolated

View file

@ -1,10 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using Microsoft.AspNetCore.Authorization;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Api
{

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Api

View file

@ -3,8 +3,8 @@
using System.Security.Claims;
using Duende.Bff.Blazor.Client.Internals;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Duende.Bff.Blazor.Client;

View file

@ -2,9 +2,9 @@
// See LICENSE in the project root for license information.
using Duende.Bff;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Duende.Bff.Yarp;
using Microsoft.Extensions.DependencyInjection;
using Yarp.ReverseProxy.Transforms.Builder;

View file

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

View file

@ -1,14 +1,14 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.AccessTokenManagement.OpenIdConnect;
using Duende.Bff;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.Extensions.Options;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Authentication;
using Duende.AccessTokenManagement.OpenIdConnect;
namespace Microsoft.AspNetCore.Builder;

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.AccessTokenManagement.OpenIdConnect;
using Duende.Bff;
using Microsoft.Extensions.Options;
using Duende.AccessTokenManagement.OpenIdConnect;
namespace Microsoft.AspNetCore.Builder;

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using System.Security.Claims;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Duende.Bff;

View file

@ -1,6 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Security.Claims;
using System.Text.Json;
using Duende.Bff.Logging;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
@ -9,9 +12,6 @@ using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System.Security.Claims;
using System.Text.Json;
using Duende.Bff.Logging;
namespace Duende.Bff;

View file

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

View file

@ -1,15 +1,15 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Text;
using System.Text.Json;
using Duende.Bff.Logging;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using System.Text;
using System.Text.Json;
using Duende.Bff.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
namespace Duende.Bff;

View file

@ -1,13 +1,13 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Security.Claims;
using System.Text.Json;
using System.Text.Json.Serialization;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using System.Security.Claims;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Duende.Bff;

View file

@ -3,11 +3,11 @@
#nullable disable
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
using System.Security.Claims;
using System.Security.Cryptography;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
namespace Duende;

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.Extensions.Options;
namespace Duende.Bff;

View file

@ -1,5 +1,5 @@
using Duende.Bff.Yarp;
using BffRemoteApi;
using Duende.Bff.Yarp;
var builder = WebApplication.CreateBuilder(args);

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using System.Net.Http.Json;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using System.Net.Http.Json;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -1,10 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using Duende.Bff.Tests.TestHosts;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using System.Security.Claims;
using System.Net;
using System.Security.Claims;
using Duende.Bff.Tests.TestHosts;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints.Management

View file

@ -1,11 +1,11 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using System.Net;
using System.Net.Http.Json;
using System.Text.Json;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using System.Net;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Tests.TestHosts;
using Xunit.Abstractions;
namespace Duende.Bff.Tests.Endpoints

View file

@ -1,9 +1,9 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using Duende.Bff.Tests.TestFramework;
using Microsoft.AspNetCore.Builder;
using System.Net;
using Xunit.Abstractions;
namespace Duende.Bff.Tests

View file

@ -2,11 +2,11 @@
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestHosts;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Xunit.Abstractions;
using Microsoft.Extensions.Logging.Abstractions;
using Xunit.Abstractions;
namespace Duende.Bff.Tests;

View file

@ -1,16 +1,16 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Net;
using System.Security.Claims;
using Microsoft.AspNetCore.HttpOverrides;
namespace Duende.Bff.Tests.TestFramework
{

View file

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

View file

@ -1,14 +1,14 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Net;
using System.Text.Json;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using System.Text.Json;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.Authentication;
using Yarp.ReverseProxy.Forwarder;
using Yarp.ReverseProxy.Transforms;
using Yarp.ReverseProxy.Transforms.Builder;

View file

@ -1,13 +1,13 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using Duende.Bff.Tests.TestFramework;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System.Net;
using Duende.Bff.Tests.TestFramework;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Yarp.ReverseProxy.Forwarder;

View file

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

View file

@ -1,6 +1,7 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Security.Claims;
using Duende.Bff.Tests.TestFramework;
using Duende.IdentityServer;
using Duende.IdentityServer.Models;
@ -9,7 +10,6 @@ using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Security.Claims;
namespace Duende.Bff.Tests.TestHosts;

View file

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

View file

@ -1,10 +1,10 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.
using System.Reflection;
using Hosts.Tests.TestInfra;
using Microsoft.Playwright;
using Microsoft.Playwright.Xunit;
using System.Reflection;
using Xunit.Abstractions;
using Xunit.Sdk;

View file

@ -1,6 +1,6 @@
using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Options;
using System;
namespace DPoPApi;

View file

@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.IdentityModel.Tokens;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
namespace DPoPApi;

View file

@ -1,10 +1,10 @@
using System.Text;
using System.Threading.Tasks;
using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using static Duende.IdentityModel.OidcConstants;
namespace DPoPApi;

View file

@ -1,9 +1,3 @@
using Duende.IdentityModel;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
@ -11,6 +5,12 @@ using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Duende.IdentityModel;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
namespace DPoPApi;

View file

@ -1,7 +1,7 @@
using System;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
namespace DPoPApi;

View file

@ -1,6 +1,6 @@
using Microsoft.Extensions.Caching.Distributed;
using System;
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
namespace DPoPApi;

View file

@ -1,8 +1,8 @@
using System.Linq;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Linq;
namespace DPoPApi.Controllers
{

View file

@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Linq;
namespace ResourceBasedApi.Controllers
{

View file

@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Linq;
namespace SampleApi.Controllers
{

View file

@ -1,7 +1,3 @@
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
@ -9,6 +5,10 @@ using System.Net.Http;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
namespace ConsoleCibaClient
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleClientCredentialsFlow
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleClientCredentialsFlowCallingIdentityServerApi
{

View file

@ -1,12 +1,12 @@
using Clients;
using Duende.IdentityModel.Client;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text.Json;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
namespace ConsoleClientCredentialsFlowDPoP
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleClientCredentialsFlow
{

View file

@ -1,10 +1,10 @@
using Clients;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
using Duende.IdentityModel.OidcClient;
using Serilog;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace ConsoleResourceIndicators
{

View file

@ -1,7 +1,3 @@
using Duende.IdentityModel.OidcClient.Browser;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using System;
using System.Diagnostics;
using System.IO;
@ -11,6 +7,10 @@ using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Duende.IdentityModel.OidcClient.Browser;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
namespace ConsoleResourceIndicators
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleCustomGrant
{

View file

@ -1,11 +1,11 @@
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
namespace ConsoleDeviceFlow
{

View file

@ -1,9 +1,9 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleIntrospectionClient
{

View file

@ -1,9 +1,9 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleMTLSClient
{

View file

@ -1,14 +1,14 @@
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
using System;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.IdentityModel.Tokens;
namespace ConsolePrivateKeyJwtClient
{

View file

@ -1,13 +1,13 @@
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Duende.IdentityModel.OidcClient;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Duende.IdentityModel.OidcClient;
using Serilog;
namespace ConsoleResourceIndicators
{

View file

@ -1,11 +1,11 @@
using Duende.IdentityModel.OidcClient.Browser;
using System;
using System;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Duende.IdentityModel.OidcClient.Browser;
namespace ConsoleResourceIndicators
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleResourceOwnerFlow
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleResourceOwnerFlowPublic
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleResourceOwnerFlowReference
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleResourceOwnerFlowRefreshToken
{

View file

@ -1,8 +1,8 @@
using Clients;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
namespace ConsoleResourceOwnerFlowUserInfo
{

View file

@ -1,8 +1,8 @@
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using System;
using System;
using System.Text;
using System.Text.Json;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
namespace Clients
{

View file

@ -1,5 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace JsOidc
{

View file

@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Microsoft.AspNetCore.Authentication;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace MvcAutomaticTokenManagement.Controllers;

View file

@ -1,8 +1,8 @@
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using System;
namespace MvcAutomaticTokenManagement;

View file

@ -1,10 +1,10 @@
using System;
using System.IdentityModel.Tokens.Jwt;
using Clients;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
namespace MvcAutomaticTokenManagement;

View file

@ -1,8 +1,8 @@
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using System;
namespace MvcCode;

View file

@ -1,14 +1,14 @@
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Net.Http;
using Duende.IdentityModel.Client;
using Microsoft.Extensions.Configuration;
namespace MvcCode;

View file

@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Microsoft.AspNetCore.Authentication;
using Duende.AccessTokenManagement.OpenIdConnect;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace MvcDPoP.Controllers;

View file

@ -1,6 +1,6 @@
using System.Threading.Tasks;
using Duende.AccessTokenManagement;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace MvcDPoP;

View file

@ -1,8 +1,8 @@
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using System;
namespace MvcDPoP;

View file

@ -1,13 +1,13 @@
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Cryptography;
using System.Text.Json;
using Clients;
using Duende.AccessTokenManagement;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Cryptography;
using System.Text.Json;
namespace MvcDPoP;

View file

@ -1,8 +1,8 @@
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace MvcDPoP;

View file

@ -1,12 +1,12 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using System.Globalization;
using System.Net.Http;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel.Client;
using System.Globalization;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace MvcHybrid.Controllers
{

View file

@ -1,10 +1,3 @@
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
@ -12,6 +5,13 @@ using System.Net.Http;
using System.Security.Claims;
using System.Text.Json;
using System.Threading.Tasks;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
namespace MvcHybrid.Controllers
{

View file

@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Authentication.Cookies;
using System.Threading.Tasks;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
namespace MvcHybrid
{

View file

@ -1,15 +1,15 @@
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System.IdentityModel.Tokens.Jwt;
using Duende.IdentityModel;
using Clients;
using Microsoft.IdentityModel.Tokens;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication;
using Duende.IdentityModel.Client;
using System.Net.Http;
using Clients;
using Duende.IdentityModel;
using Duende.IdentityModel.Client;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
namespace MvcHybrid
{

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