18 instantiations of TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (18)
NegotiateHandlerTests.cs (18)
46var result = await SendAsync(server, "/Anonymous1", new TestConnection()); 66var result = await SendAsync(server, "/Authenticate", new TestConnection()); 88var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob1"); 98var testConnection = new TestConnection(); 111var ex = await Assert.ThrowsAsync<TrueException>(() => SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob2")); 122var testConnection = new TestConnection(); 133var testConnection = new TestConnection(); 144var testConnection = new TestConnection(); 156var testConnection = new TestConnection(); 183var testConnection = new TestConnection(); 209var testConnection = new TestConnection(); 231var testConnection = new TestConnection(); 243var testConnection = new TestConnection(); 255var testConnection = new TestConnection(); 293var testConnection = new TestConnection(); 305var testConnection = new TestConnection(); 316var testConnection = new TestConnection(); 327var testConnection = new TestConnection();
23 references to TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (23)
NegotiateHandlerTests.cs (23)
98var testConnection = new TestConnection(); 122var testConnection = new TestConnection(); 133var testConnection = new TestConnection(); 144var testConnection = new TestConnection(); 156var testConnection = new TestConnection(); 183var testConnection = new TestConnection(); 209var testConnection = new TestConnection(); 231var testConnection = new TestConnection(); 243var testConnection = new TestConnection(); 255var testConnection = new TestConnection(); 293var testConnection = new TestConnection(); 305var testConnection = new TestConnection(); 316var testConnection = new TestConnection(); 327var testConnection = new TestConnection(); 332private static async Task AuthenticateAndRetrieveRBACClaims(TestServer server, TestConnection testConnection) 340private static async Task KerberosAuth(TestServer server, TestConnection testConnection) 347private static async Task KerberosStage1And2Auth(TestServer server, TestConnection testConnection) 353private static async Task KerberosStage1Auth(TestServer server, TestConnection testConnection) 360private static async Task KerberosStage2Auth(TestServer server, TestConnection testConnection) 367private static async Task NtlmStage1And2Auth(TestServer server, TestConnection testConnection) 373private static async Task NtlmStage1Auth(TestServer server, TestConnection testConnection) 380private static async Task NtlmStage2Auth(TestServer server, TestConnection testConnection) 487private static Task<HttpContext> SendAsync(TestServer server, string path, TestConnection connection, string authorizationHeader = null, bool http2 = false)