49 references to SendAsync
Microsoft.AspNetCore.Authentication.Test (49)
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
33var transaction = await server.SendAsync("/");
OpenIdConnect\OpenIdConnectChallengeTests.cs (32)
33var transaction = await server.SendAsync(ChallengeEndpoint); 66var transaction = await server.SendAsync(ChallengeEndpoint); 101var transaction = await server.SendAsync(ChallengeEndpoint); 122var transaction = await server.SendAsync(ChallengeEndpoint); 161var transaction = await server.SendAsync(ChallengeEndpoint); 194var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 229var transaction = await server.SendAsync(ChallengeEndpoint); 270var transaction = await server.SendAsync(ChallengeEndpoint); 309var transaction = await server.SendAsync(ChallengeEndpoint); 353var transaction = await server.SendAsync(ChallengeEndpoint); 387var transaction = await server.SendAsync(ChallengeEndpoint); 417var transaction = await server.SendAsync(ChallengeEndpoint); 436var transaction = await server.SendAsync(ChallengeEndpoint); 470var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendAsync(ChallengeEndpoint)); 485var transaction = await server.SendAsync(ChallengeEndpoint); 507var transaction = await server.SendAsync(ChallengeEndpoint); 528var transaction = await server.SendAsync(ChallengeEndpoint); 552var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 574var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 598var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 622var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 646var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 668var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 689var transaction = await server.SendAsync(TestServerBuilder.TestHost + TestServerBuilder.ChallengeWithProperties); 716var transaction = await server.SendAsync(ChallengeEndpoint); 756var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendAsync(ChallengeEndpoint)); 779var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendAsync(ChallengeEndpoint)); 806var transaction = await server.SendAsync(ChallengeEndpoint); 845var transaction = await server.SendAsync(ChallengeEndpoint); 879var transaction = await server.SendAsync(ChallengeEndpoint); 910var transaction = await server.SendAsync(ChallengeEndpoint); 964await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendAsync(ChallengeEndpoint));
OpenIdConnect\OpenIdConnectConfigurationTests.cs (2)
465var transaction = await server.SendAsync(@"https://example.com"); 576var exception = await Assert.ThrowsAsync<T>(() => BuildTestServer(options).SendAsync(@"https://example.com"));
OpenIdConnect\OpenIdConnectTests.cs (14)
47var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Signout); 74var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Challenge); 101var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Challenge); 127var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Challenge); 154var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Challenge); 179var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Signout); 199var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Signout); 217var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Signout); 239var transaction = await server.SendAsync(DefaultHost + TestServerBuilder.Signout); 270var transaction = await server.SendAsync("https://example.com/signout_with_specific_redirect_uri"); 297var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendAsync(DefaultHost + TestServerBuilder.Signout)); 317var signInTransaction = await server.SendAsync(DefaultHost); 341var signInTransaction = await server.SendAsync(DefaultHost); 365var signInTransaction = await server.SendAsync(DefaultHost);