3 instantiations of Transaction
Microsoft.AspNetCore.Authentication.Test (3)
JwtBearerTests.cs (1)
1256
var transaction = new
Transaction
JwtBearerTests_Handler.cs (1)
1315
var transaction = new
Transaction
TestExtensions.cs (1)
25
var transaction = new
Transaction
150 references to Transaction
Microsoft.AspNetCore.Authentication.Test (150)
CookieTests.cs (14)
587
var
transaction3 = await server.SendAsync("http://example.com/normal", transaction1.CookieNameValue);
591
var
transaction4 = await server.SendAsync("http://example.com/signout", transaction3.SetCookie[0]);
1250
var
transaction = await server.SendAsync("http://example.com/login");
1286
var
transaction = await server.SendAsync("http://example.com");
1312
var
transaction = await server.SendAsync("http://example.com");
1340
var
transaction = await server.SendAsync("http://example.com");
1364
var
transaction = await server.SendAsync("http://example.com/notlogin?ReturnUrl=%2Fpage");
1386
var
transaction = await server.SendAsync("http://example.com/login?ReturnUrl=%2Fpage");
1412
var
transaction = await server.SendAsync("http://example.com/notlogout?ReturnUrl=%2Fpage");
1434
var
transaction = await server.SendAsync("http://example.com/logout?ReturnUrl=%2Fpage");
1459
var
transaction = await server.SendAsync("http://example.com/forbid");
1484
var
transaction = await server.SendAsync("http://example.com/base/login");
1626
var
transaction = await server.SendAsync("http://example.com/base/forbid");
1730
var
transaction = await server.SendAsync("http://www.example.com/", cookie);
DynamicSchemeTests.cs (2)
33
var
transaction = await server.SendAsync("http://example.com/auth/One");
68
var
transaction = await server.SendAsync("http://example.com/auth/One");
FacebookTests.cs (11)
57
var
transaction = await server.SendAsync("http://example.com/challenge");
73
var
transaction = await server.SendAsync("http://example.com/challenge");
109
var
transaction = await server.SendAsync("http://example.com/challenge");
138
var
transaction = await server.SendAsync("http://example.com/challenge");
170
var
transaction = await server.SendAsync("http://example.com/challenge");
202
var
transaction = await server.SendAsync("http://example.com/challenge");
230
var
transaction = await server.SendAsync("http://example.com/base/login");
263
var
transaction = await server.SendAsync("http://example.com/login");
298
var
transaction = await server.SendAsync("http://example.com/challenge");
363
var
transaction = await server.SendAsync(
433
var
transaction = await server.SendAsync("https://example.com/challenge");
GoogleTests.cs (28)
54
var
transaction = await server.SendAsync("https://example.com/challenge");
85
var
transaction = await server.SendAsync("https://example.com/signIn");
98
var
transaction = await server.SendAsync("https://example.com/signOut");
111
var
transaction = await server.SendAsync("https://example.com/signOut");
124
var
transaction = await server.SendAsync("https://example.com/401");
137
var
transaction = await server.SendAsync("https://example.com/challenge");
150
var
transaction = await server.SendAsync("https://example.com/challenge");
186
var
transaction = await server.SendAsync("https://example.com/challenge2");
238
var
transaction = await server.SendAsync("https://example.com/challenge2");
294
var
transaction = await server.SendAsync("https://example.com/challenge2");
333
var
transaction = await server.SendAsync("https://example.com/challenge");
358
var
transaction = await server.SendAsync("https://example.com/auth");
400
var
transaction = await sendTask;
435
var
transaction = await server.SendAsync("https://example.com/signin-google?error=access_denied&error_description=SoBad&error_uri=foobar&state=protected_state",
478
var
transaction = await server.SendAsync("https://example.com/signin-google?error=access_denied&error_description=whyitfailed&error_uri=https://example.com/fail&state=protected_state",
518
var
transaction = await sendTask;
555
var
transaction = await server.SendAsync(
627
var
transaction = await sendTask;
679
var
transaction = await sendTask;
718
var
transaction = await server.SendAsync(
758
var
transaction = await server.SendAsync(
805
var
transaction = await server.SendAsync(
849
var
transaction = await server.SendAsync(
879
var
transaction = await server.SendAsync(
923
var
transaction = await server.SendAsync(
967
var
transaction = await server.SendAsync(
1004
var
transaction = await server.SendAsync(
1066
var
transaction = await server.SendAsync("https://example.com/challenge");
JwtBearerTests.cs (30)
80
var
response = await SendAsync(server, "http://example.com/oauth", newBearerToken);
118
var
response = await SendAsync(server, "http://example.com/token", newBearerToken);
162
var
transaction = await server.SendAsync("https://example.com/signIn");
171
var
transaction = await server.SendAsync("https://example.com/signOut");
214
var
transaction = await server.SendAsync("https://example.com/signIn");
245
var
response = await SendAsync(server, "http://example.com/oauth", "someHeader someblob");
255
var
response = await SendAsync(server, "http://example.com/oauth");
264
var
response = await SendAsync(server, "http://example.com/oauth", "Token");
273
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
291
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
318
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
342
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
362
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
382
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
415
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
464
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
476
var
response = await SendAsync(server, "http://example.com/oauth");
516
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
545
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer Token");
579
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
651
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
723
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
783
var
response = await SendAsync(server, "http://example.com/unauthorized", "Bearer Token");
806
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
833
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
861
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
951
var
response = await SendAsync(server, "http://example.com/expiration", newBearerToken);
995
var
response = await SendAsync(server, "http://example.com/expiration", newBearerToken);
1248
private static async Task<
Transaction
> SendAsync(TestServer server, string uri, string authorizationHeader = null)
1256
var
transaction = new Transaction
JwtBearerTests_Handler.cs (30)
71
var
response = await SendAsync(server, "http://example.com/oauth", newBearerToken);
108
var
response = await SendAsync(server, "http://example.com/token", newBearerToken);
152
var
transaction = await server.SendAsync("https://example.com/signIn");
161
var
transaction = await server.SendAsync("https://example.com/signOut");
201
var
transaction = await server.SendAsync("https://example.com/signIn");
231
var
response = await SendAsync(server, "http://example.com/oauth", "someHeader someblob");
241
var
response = await SendAsync(server, "http://example.com/oauth");
250
var
response = await SendAsync(server, "http://example.com/oauth", "Token");
259
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
274
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
298
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
319
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
336
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
353
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
385
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
433
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
445
var
response = await SendAsync(server, "http://example.com/oauth");
482
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer someblob");
508
var
response = await SendAsync(server, "http://example.com/oauth", "Bearer Token");
541
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
609
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
675
var
response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
731
var
response = await SendAsync(server, "http://example.com/unauthorized", "Bearer Token");
753
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
779
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
806
var
response = await SendAsync(server, "http://example.com/forbidden", newBearerToken);
895
var
response = await SendAsync(server, "http://example.com/expiration", newBearerToken);
938
var
response = await SendAsync(server, "http://example.com/expiration", newBearerToken);
1307
private static async Task<
Transaction
> SendAsync(TestServer server, string uri, string authorizationHeader = null)
1315
var
transaction = new Transaction
MicrosoftAccountTests.cs (11)
64
var
transaction = await server.SendAsync("http://example.com/challenge");
79
var
transaction = await server.SendAsync("https://example.com/signIn");
92
var
transaction = await server.SendAsync("https://example.com/signOut");
105
var
transaction = await server.SendAsync("https://example.com/signOut");
118
var
transaction = await server.SendAsync("http://example.com/challenge");
143
var
transaction = await server.SendAsync("http://example.com/challenge");
161
var
transaction = await server.SendAsync("http://example.com/challengeWithOtherScope");
179
var
transaction = await server.SendAsync("http://example.com/challengeWithOtherScopeWithBaseAuthenticationProperties");
240
var
transaction = await server.SendAsync(
266
var
transaction = await server.SendAsync("https://example.com/challenge");
333
var
transaction = await server.SendAsync("https://example.com/challenge");
OAuthTests.cs (10)
131
var
transaction = await server.SendAsync("https://www.example.com/challenge");
159
var
transaction = await server.SendAsync("https://www.example.com/challenge");
189
var
transaction = await server.SendAsync("https://www.example.com/challenge");
215
var
transaction = await server.SendAsync("https://www.example.com/challenge");
244
var
transaction = await server.SendAsync("https://www.example.com/challenge");
273
var
transaction = await server.SendAsync("https://www.example.com/challenge");
310
var
transaction = await server.SendAsync("https://www.example.com/oauth-callback?error=access_denied&state=protected_state",
345
var
transaction = await server.SendAsync("https://www.example.com/oauth-callback?error=access_denied&state=protected_state",
381
var
transaction = await server.SendAsync("https://www.example.com/oauth-callback?error=access_denied&state=protected_state",
417
var
transaction = await server.SendAsync("https://www.example.com/oauth-callback?error=custom_error&state=protected_state",
PolicyTests.cs (2)
38
var
transaction = await server.SendAsync("http://example.com/auth/policy1");
353
var
transaction = await server.SendAsync("http://example.com/auth/dynamic?auth1");
TestExtensions.cs (2)
18
public static async Task<
Transaction
> SendAsync(this TestServer server, string uri, string cookieHeader = null)
25
var
transaction = new Transaction
TwitterTests.cs (10)
70
var
transaction = await server.SendAsync("http://example.com/challenge");
132
var
transaction = await server.SendAsync("https://example.com/signIn");
145
var
transaction = await server.SendAsync("https://example.com/signOut");
158
var
transaction = await server.SendAsync("https://example.com/signOut");
180
var
transaction = await server.SendAsync("http://example.com/challenge");
208
var
transaction = await server.SendAsync("http://example.com/challenge");
258
var
transaction = await server.SendAsync("http://example.com/challenge");
365
var
transaction = await server.SendAsync("http://example.com/challenge");
428
var
transaction = await server.SendAsync(
507
var
transaction = await server.SendAsync(