18 instantiations of TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (18)
NegotiateHandlerTests.cs (18)
39var result = await SendAsync(server, "/Anonymous1", new TestConnection()); 59var result = await SendAsync(server, "/Authenticate", new TestConnection()); 81var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob1"); 91var testConnection = new TestConnection(); 104var ex = await Assert.ThrowsAsync<TrueException>(() => SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob2")); 115var testConnection = new TestConnection(); 126var testConnection = new TestConnection(); 137var testConnection = new TestConnection(); 149var testConnection = new TestConnection(); 176var testConnection = new TestConnection(); 202var testConnection = new TestConnection(); 224var testConnection = new TestConnection(); 236var testConnection = new TestConnection(); 248var testConnection = new TestConnection(); 286var testConnection = new TestConnection(); 298var testConnection = new TestConnection(); 309var testConnection = new TestConnection(); 320var testConnection = new TestConnection();
23 references to TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (23)
NegotiateHandlerTests.cs (23)
91var testConnection = new TestConnection(); 115var testConnection = new TestConnection(); 126var testConnection = new TestConnection(); 137var testConnection = new TestConnection(); 149var testConnection = new TestConnection(); 176var testConnection = new TestConnection(); 202var testConnection = new TestConnection(); 224var testConnection = new TestConnection(); 236var testConnection = new TestConnection(); 248var testConnection = new TestConnection(); 286var testConnection = new TestConnection(); 298var testConnection = new TestConnection(); 309var testConnection = new TestConnection(); 320var testConnection = new TestConnection(); 325private static async Task AuthenticateAndRetrieveRBACClaims(TestServer server, TestConnection testConnection) 333private static async Task KerberosAuth(TestServer server, TestConnection testConnection) 340private static async Task KerberosStage1And2Auth(TestServer server, TestConnection testConnection) 346private static async Task KerberosStage1Auth(TestServer server, TestConnection testConnection) 353private static async Task KerberosStage2Auth(TestServer server, TestConnection testConnection) 360private static async Task NtlmStage1And2Auth(TestServer server, TestConnection testConnection) 366private static async Task NtlmStage1Auth(TestServer server, TestConnection testConnection) 373private static async Task NtlmStage2Auth(TestServer server, TestConnection testConnection) 480private static Task<HttpContext> SendAsync(TestServer server, string path, TestConnection connection, string authorizationHeader = null, bool http2 = false)