10 references to WithRedirectUrisForExport
Aspire.Hosting.Azure.EntraId.Tests (10)
EntraIdPolyglotTests.cs (10)
255.WithRedirectUrisForExport("https://localhost/signin") 256.WithRedirectUrisForExport(redirects) 257.WithRedirectUrisForExport(host, ["/signin", "/signout"]); 278.WithRedirectUrisForExport(web.GetEndpoint("https"), ["/signin"]); 479Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint)); 480Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint, [])); 481Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(endpoint, ["invalid-path"])); 482Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(host, [])); 483Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport("https://localhost", ["/signin"])); 484Assert.Throws<ArgumentException>(() => entra.WithRedirectUrisForExport(42));