15 instantiations of TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (15)
EventTests.cs (15)
40var result = await SendAsync(server, "/Authenticate", new TestConnection()); 64var result = await SendAsync(server, "/Authenticate", new TestConnection()); 89SendAsync(server, "/404", new TestConnection(), "Negotiate InvalidBlob")); 112var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate InvalidBlob"); 137SendAsync(server, "/404", new TestConnection(), "Negotiate OtherError")); 162var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate OtherError"); 187var response = await SendAsync(server, "/418", new TestConnection(), "Negotiate CredentialError"); 212var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate CredentialError"); 237var response = await SendAsync(server, "/404", new TestConnection(), "Negotiate ClientError"); 262var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate ClientError"); 290var testConnection = new TestConnection(); 316await KerberosStage1And2Auth(server, new TestConnection()); 338var result = await SendAsync(server, "/Authenticate", new TestConnection(), "Negotiate ClientKerberosBlob"); 362var result = await SendAsync(server, "/Authenticate", new TestConnection(), "Negotiate ClientKerberosBlob"); 385await KerberosStage1And2Auth(server, new TestConnection());
5 references to TestConnection
Microsoft.AspNetCore.Authentication.Negotiate.Test (5)
EventTests.cs (5)
290var testConnection = new TestConnection(); 389private static async Task KerberosStage1And2Auth(TestServer server, TestConnection testConnection) 395private static async Task KerberosStage1Auth(TestServer server, TestConnection testConnection) 402private static async Task KerberosStage2Auth(TestServer server, TestConnection testConnection) 457private static Task<HttpContext> SendAsync(TestServer server, string path, TestConnection connection, string authorizationHeader = null)