47 writes to RedirectUri
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (2)
13group.MapGet("/login", () => TypedResults.Challenge(new AuthenticationProperties { RedirectUri = "/" })) 16group.MapPost("/logout", () => TypedResults.SignOut(new AuthenticationProperties { RedirectUri = "/" },
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
151ticket.Properties.RedirectUri = null;
Microsoft.AspNetCore.Authentication.Core.Test (3)
AuthenticationPropertiesTests.cs (3)
185props.RedirectUri = "http://example.com"; 314RedirectUri = "/foo/bar" 370RedirectUri = "/foo/bar"
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
267properties.RedirectUri = OriginalPathBase + OriginalPath + Request.QueryString;
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
238properties.RedirectUri = BuildRedirectUriIfRelative(Options.SignedOutRedirectUri); 241properties.RedirectUri = OriginalPathBase + OriginalPath + Request.QueryString; 389properties.RedirectUri = OriginalPathBase + OriginalPath + Request.QueryString;
Microsoft.AspNetCore.Authentication.Test (31)
CookieTests.cs (5)
1243app.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" }))); 1477map.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Cookies", new AuthenticationProperties() { RedirectUri = "/" }))); 1509new AuthenticationProperties { RedirectUri = redirectUrl }) 1600new AuthenticationProperties { RedirectUri = "/redirect_test" }); 1846await context.ChallengeAsync(CookieAuthenticationDefaults.AuthenticationScheme, new AuthenticationProperties() { RedirectUri = "/CustomRedirect" });
FacebookTests.cs (3)
215map.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Facebook", new AuthenticationProperties() { RedirectUri = "/" }))); 248app.Map("/login", signoutApp => signoutApp.Run(context => context.ChallengeAsync("Facebook", new AuthenticationProperties() { RedirectUri = "/" }))); 360properties.RedirectUri = "/me";
GoogleTests.cs (11)
552properties.RedirectUri = "/me"; 618properties.RedirectUri = "/me"; 671properties.RedirectUri = "/me"; 715properties.RedirectUri = "/me"; 747context.Properties.RedirectUri = null; 800properties.RedirectUri = "/foo"; 876properties.RedirectUri = "/me"; 920properties.RedirectUri = "/me"; 964properties.RedirectUri = "/me"; 1001properties.RedirectUri = "/me"; 1266properties.RedirectUri = "http://testhost/redirect";
MicrosoftAccountTests.cs (2)
237properties.RedirectUri = "/me"; 377RedirectUri = "/me"
OAuthTests.cs (1)
563properties.RedirectUri = "http://testhost/redirect";
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
125properties.RedirectUri = "http://testhost/redirect";
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1340properties.RedirectUri = "http://testhost/redirect";
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1338properties.RedirectUri = "http://testhost/redirect";
OpenIdConnect\TestServerBuilder.cs (1)
99new AuthenticationProperties() { RedirectUri = "http://www.example.com/specific_redirect_uri" });
TicketSerializerTests.cs (1)
16properties.RedirectUri = "bye";
TwitterTests.cs (2)
425token.Properties.RedirectUri = "/me"; 504token.Properties.RedirectUri = "/me";
WsFederation\WsFederationTest.cs (1)
384var authProperties = new AuthenticationProperties() { RedirectUri = context.Request.GetEncodedUrl() };
WsFederation\WsFederationTest_Handler.cs (1)
380var authProperties = new AuthenticationProperties() { RedirectUri = context.Request.GetEncodedUrl() };
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
168properties.RedirectUri = OriginalPathBase + OriginalPath + Request.QueryString;
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
95properties.RedirectUri = OriginalPathBase + OriginalPath + Request.QueryString;
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
759var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
OpenIdConnectSample (1)
Startup.cs (1)
178RedirectUri = "/signedout"
SocialSample (1)
Startup.cs (1)
255await context.ChallengeAsync(authType, new AuthenticationProperties() { RedirectUri = "/" });
WsFedSample (1)
Startup.cs (1)
73RedirectUri = "/signedout"
26 references to RedirectUri
Identity.DefaultUI.WebSite (1)
Services\ContosoAuthenticationHandler.cs (1)
31[Options.ReturnUrlQueryParameter] = properties.RedirectUri
Microsoft.AspNetCore.Authentication (2)
RemoteAuthenticationHandler.cs (2)
148ReturnUri = ticket.Properties.RedirectUri 294ReturnUrl = properties?.RedirectUri,
Microsoft.AspNetCore.Authentication.Cookies (3)
CookieAuthenticationHandler.cs (3)
430var redirectUri = properties.RedirectUri; 464var returnUrl = properties.RedirectUri; 477var redirectUri = properties.RedirectUri;
Microsoft.AspNetCore.Authentication.Core.Test (5)
AuthenticationPropertiesTests.cs (5)
183Assert.Null(props.RedirectUri); 186Assert.Equal("http://example.com", props.RedirectUri); 190Assert.Null(props.RedirectUri); 336Assert.Equal(props.RedirectUri, deserialized.RedirectUri);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
265if (string.IsNullOrEmpty(properties.RedirectUri))
Microsoft.AspNetCore.Authentication.OpenIdConnect (7)
OpenIdConnectHandler.cs (7)
236if (string.IsNullOrEmpty(properties.RedirectUri)) 239if (string.IsNullOrWhiteSpace(properties.RedirectUri)) 244Logger.PostSignOutRedirect(properties.RedirectUri); 350if (!string.IsNullOrEmpty(properties?.RedirectUri)) 352Response.Redirect(properties.RedirectUri); 387if (string.IsNullOrEmpty(properties.RedirectUri)) 391Logger.PostAuthenticationLocalRedirect(properties.RedirectUri);
Microsoft.AspNetCore.Authentication.Test (3)
OpenIdConnect\OpenIdConnectTests.cs (2)
253Assert.Equal("https://example.com/postlogout", properties.RedirectUri, true); 284Assert.Equal("http://www.example.com/specific_redirect_uri", properties.RedirectUri, true);
TicketSerializerTests.cs (1)
27Assert.Equal("bye", readTicket.Properties.RedirectUri);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
166if (string.IsNullOrEmpty(properties.RedirectUri))
Microsoft.AspNetCore.Authentication.WsFederation (3)
WsFederationHandler.cs (3)
93if (string.IsNullOrEmpty(properties.RedirectUri)) 436if (properties != null && !string.IsNullOrEmpty(properties.RedirectUri)) 438wsFederationMessage.Wreply = BuildRedirectUriIfRelative(properties.RedirectUri);