Authorization Support (Using ASP.NET Core Native AuthN/AuthZ Integration) (#377)
This commit is contained in:
parent
cd8e5d5f7f
commit
cdf88e7f5d
1 changed files with 4207 additions and 126 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue