20 references to SendAsync
Microsoft.AspNetCore.Authentication.Negotiate.Test (20)
NegotiateHandlerTests.cs (20)
29var ex = await Assert.ThrowsAsync<NotSupportedException>(() => SendAsync(server, "/Anonymous1", connection: null));
39var result = await SendAsync(server, "/Anonymous1", new TestConnection());
49var result = await SendAsync(server, "/Anonymous2", connection: null, http2: true);
59var result = await SendAsync(server, "/Authenticate", new TestConnection());
70var result = await SendAsync(server, "/Authenticate", connection: null, http2: true);
81var result = await SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob1");
94var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => SendAsync(server, "/404", testConnection));
104var ex = await Assert.ThrowsAsync<TrueException>(() => SendAsync(server, "/404", new TestConnection(), "Negotiate ClientNtlmBlob2"));
163var result = await SendAsync(server, "/Authenticate", testConnection);
190var result = await SendAsync(server, "/Authenticate", testConnection);
288var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate ClientNtlmBlob2");
299var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate CredentialError");
310var result = await SendAsync(server, "/404", testConnection, "Negotiate ClientError");
322var ex = await Assert.ThrowsAsync<Exception>(() => SendAsync(server, "/404", testConnection, "Negotiate OtherError"));
327var result = await SendAsync(server, "/AuthenticateAndRetrieveRBACClaims", testConnection, "Negotiate ClientKerberosBlob");
335var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate ClientKerberosBlob");
348var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate ClientKerberosBlob1");
355var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate ClientKerberosBlob2");
368var result = await SendAsync(server, "/404", testConnection, "Negotiate ClientNtlmBlob1");
375var result = await SendAsync(server, "/Authenticate", testConnection, "Negotiate ClientNtlmBlob2");