10 references to Redirect
Aspire.Dashboard.Tests (3)
Integration\MockOpenIdAuthority.cs (3)
64return Results.Redirect($"{redirect_uri}?error=interaction_required&state={state}"); 70return Results.Redirect($"{redirect_uri}?error=invalid_request&error_description=extraQueryParams%20not%20preserved&state={state}"); 74return Results.Redirect($"{redirect_uri}?code={lastCode}&state={state}");
Microsoft.AspNetCore.Http.Results.Tests (6)
ResultsTests.cs (6)
1460Assert.Throws<ArgumentNullException>("url", () => Results.Redirect(default(string))); 1466Assert.Throws<ArgumentException>("url", () => Results.Redirect(string.Empty)); 1476var result = Results.Redirect(url) as RedirectHttpResult; 1492var result = Results.Redirect(url, true) as RedirectHttpResult; 1508var result = Results.Redirect(url, false, true) as RedirectHttpResult; 1770(() => Results.Redirect("/path", false, false), typeof(RedirectHttpResult)),
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
37return Redirect("/json", permanent: true);