Authorization Support (Using ASP.NET Core Native AuthN/AuthZ Integration) (#377)

This commit is contained in:
Den Delimarsky 🌺 2025-07-03 14:39:28 -07:00 • committed by GitHub
commit cdf88e7f5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ public partial class SseIntegrationTests(ITestOutputHelper outputHelper) : Kestr
{
private readonly SseClientTransportOptions DefaultTransportOptions = new()
{
Endpoint = new Uri("http://localhost/sse"),
Endpoint = new("http://localhost:5000/sse"),
Name = "In-memory SSE Client",
};
@ -197,7 +197,7 @@ public partial class SseIntegrationTests(ITestOutputHelper outputHelper) : Kestr
var sseOptions = new SseClientTransportOptions
{
Endpoint = new Uri("http://localhost/sse"),
Endpoint = new("http://localhost:5000/sse"),
Name = "In-memory SSE Client",
AdditionalHeaders = new Dictionary<string, string>
{
@ -224,7 +224,7 @@ public partial class SseIntegrationTests(ITestOutputHelper outputHelper) : Kestr
var sseOptions = new SseClientTransportOptions
{
Endpoint = new Uri("http://localhost/sse"),
Endpoint = new("http://localhost:5000/sse"),
Name = "In-memory SSE Client",
AdditionalHeaders = new Dictionary<string, string>()
{
@ -251,7 +251,7 @@ public partial class SseIntegrationTests(ITestOutputHelper outputHelper) : Kestr
response.Headers.ContentType = "text/event-stream";
await using var transport = new SseResponseStreamTransport(response.Body, "http://localhost/message");
await using var transport = new SseResponseStreamTransport(response.Body, "http://localhost:5000/message");
session = transport;
try