28 references to SendAsync
Microsoft.AspNetCore.Authentication.Test (28)
JwtBearerTests_Handler.cs (28)
71var response = await SendAsync(server, "http://example.com/oauth", newBearerToken); 108var response = await SendAsync(server, "http://example.com/token", newBearerToken); 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"); 577return SendAsync(server, "http://example.com/checkforerrors", "Bearer Token"); 609var response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token"); 643return SendAsync(server, "http://example.com/checkforerrors", "Bearer Token"); 675var response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token"); 709return 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);