28 references to SendAsync
Microsoft.AspNetCore.Authentication.Test (28)
JwtBearerTests.cs (28)
80var response = await SendAsync(server, "http://example.com/oauth", newBearerToken);
118var response = await SendAsync(server, "http://example.com/token", newBearerToken);
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");
616return SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
651var response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
688return SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
723var response = await SendAsync(server, "http://example.com/checkforerrors", "Bearer Token");
760return 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);