7 references to WithRedirectUris
Aspire.Hosting.Azure.EntraId (1)
EntraIdResourceExtensions.cs (1)
1651IResourceBuilder<ParameterResource> host when callbackPaths is { Length: > 0 } => builder.WithRedirectUris(host, callbackPaths[0], callbackPaths[1..]),
Aspire.Hosting.Azure.EntraId.Tests (6)
EntraIdProvisioningTests.cs (6)
169"redirect-host" => entra.WithRedirectUris(parameter, "/signin"), 1413.WithRedirectUris(host, "/signin-oidc", "/signout-callback-oidc"); 1428Assert.Throws<ArgumentException>("callbackPath", () => entra.WithRedirectUris(host, "signin-oidc")); 1429Assert.Throws<ArgumentException>("callbackPath", () => entra.WithRedirectUris(host, "/signin-oidc", "other")); 1529entra.WithRedirectUris(host, "/signin-oidc").WithRedirectUris(existing); 1533entra.WithRedirectUris(existing).WithRedirectUris(host, "/signin-oidc");