39 references to Redirect
Aspire.Dashboard (5)
DashboardWebApplication.cs (2)
352context.Response.Redirect(TargetLocationInterceptor.StructuredLogsPath); 432httpContext.Response.Redirect("/");
Model\ValidateTokenMiddleware.cs (3)
59context.Response.Redirect($"{context.Request.Path}{newQuerystring}"); 73context.Response.Redirect(returnUrl.ToString()); 77context.Response.Redirect(DashboardUrls.ResourcesUrl());
BasicWebSite (1)
Controllers\TestingController.cs (1)
108context.HttpContext.Response.Redirect(_url);
GenericHostWebSite (1)
Controllers\TestingController.cs (1)
94context.HttpContext.Response.Redirect(_url);
Identity.DefaultUI.WebSite (1)
Services\ContosoAuthenticationHandler.cs (1)
33Response.Redirect(uri);
Microsoft.AspNetCore.Authentication (2)
RemoteAuthenticationHandler.cs (2)
180Response.Redirect(ticketContext.ReturnUri); 322Response.Redirect(BuildRedirectUri(uri));
Microsoft.AspNetCore.Authentication.Cookies (4)
CookieAuthenticationEvents.cs (4)
51context.Response.Redirect(context.RedirectUri); 68context.Response.Redirect(context.RedirectUri); 84context.Response.Redirect(context.RedirectUri); 100context.Response.Redirect(context.RedirectUri);
Microsoft.AspNetCore.Authentication.OAuth (1)
Events\OAuthEvents.cs (1)
21context.Response.Redirect(context.RedirectUri);
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
283Response.Redirect(redirectUri); 352Response.Redirect(properties.RedirectUri); 530Response.Redirect(redirectUri);
Microsoft.AspNetCore.Authentication.Test (11)
FacebookTests.cs (1)
97context.Response.Redirect(context.RedirectUri + "&custom=test");
GoogleTests.cs (7)
327context.Response.Redirect(context.RedirectUri + "&custom=test"); 389ctx.Response.Redirect("/error?FailureMessage=AccessDenied"); 471ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message)); 507ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message)); 608ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message)); 661ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message)); 840ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
MicrosoftAccountTests.cs (1)
57context.Response.Redirect(context.RedirectUri + "&custom=test");
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
87ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
TwitterTests.cs (1)
55context.Response.Redirect(context.RedirectUri + "&custom=test");
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterEvents.cs (1)
21context.Response.Redirect(context.RedirectUri);
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationHandler.cs (2)
141Response.Redirect(redirectUri); 462Response.Redirect(redirectUri);
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\OpaqueRedirection.cs (1)
92httpContext.Response.Redirect(url);
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
222httpContext.Response.Redirect(navigationException.Location);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
TargetPickerUi.cs (1)
310context.Response.Redirect(devToolsUrlWithProxy);
WebAssemblyNetDebugProxyAppBuilderExtensions.cs (1)
60context.Response.Redirect($"{debugProxyBaseUrl}{browserUrl!.PathAndQuery}");
Microsoft.AspNetCore.Diagnostics (2)
StatusCodePage\StatusCodePagesExtensions.cs (2)
102context.HttpContext.Response.Redirect(context.HttpContext.Request.PathBase + location); 111context.HttpContext.Response.Redirect(location);
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyMiddleware.cs (1)
71context.Response.Redirect(_options.Value.GetRedirectUrl());