14 references to WithRedirectUrisForExport
Aspire.Hosting.Azure.EntraId.Tests (14)
EntraIdPolyglotTests.cs (10)
343.WithRedirectUrisForExport("https://localhost/signin") 344.WithRedirectUrisForExport(redirects) 345.WithRedirectUrisForExport(host, ["/signin", "/signout"]); 367.WithRedirectUrisForExport(web.GetEndpoint("https"), ["/signin"]); 570Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint)); 571Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint, [])); 572Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint, ["invalid-path"])); 573Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(host, [])); 574Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport("https://localhost", ["/signin"])); 575Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(42));
EntraIdProvisioningTests.cs (4)
170"redirect-export-literal" => entra.WithRedirectUrisForExport("https://example.com/signin"), 171"redirect-export-parameter" => entra.WithRedirectUrisForExport(parameter), 172"redirect-export-endpoint" => entra.WithRedirectUrisForExport(endpoint, ["/signin"]), 173"redirect-export-host" => entra.WithRedirectUrisForExport(parameter, ["/signin"]),