using System; using Microsoft.AspNetCore.Authentication; namespace CleanArchitecture.IntegrationTests.Infrastructure.Auth; public static class TestAuthenticationExtensions { public static AuthenticationBuilder AddTestAuthentication( this AuthenticationBuilder builder, Action configureOptions) { return builder.AddScheme( "Testing", "Test Authentication", configureOptions); } }