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