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