106 references to Query
Aspire.Dashboard.Components.Tests (1)
Aspire.Dashboard.Tests (3)
BasicTestApp (1)
dotnet-svcutil-lib (5)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.Test (73)
OpenIdConnect\OpenIdConnectChallengeTests.cs (30)
74Assert.Contains("code_challenge=", res.Headers.Location.Query);
75Assert.Contains("code_challenge_method=S256", res.Headers.Location.Query);
79Assert.DoesNotContain("code_challenge=", res.Headers.Location.Query);
80Assert.DoesNotContain("code_challenge_method=", res.Headers.Location.Query);
107Assert.DoesNotContain("code_challenge=", res.Headers.Location.Query);
108Assert.DoesNotContain("code_challenge_method=", res.Headers.Location.Query);
126Assert.DoesNotContain(OpenIdConnectParameterNames.SkuTelemetry, res.Headers.Location.Query);
127Assert.DoesNotContain(OpenIdConnectParameterNames.VersionTelemetry, res.Headers.Location.Query);
322var actual = res.Headers.Location.Query.Trim('?').Split('&').Single(seg => seg.StartsWith($"{OpenIdConnectParameterNames.ClientId}=", StringComparison.Ordinal));
534Assert.Contains("prompt=consent", res.Headers.Location.Query);
558Assert.Contains("prompt=login", res.Headers.Location.Query);
580Assert.Contains("prompt=login", res.Headers.Location.Query);
604Assert.Contains("scope=baz%20qux", res.Headers.Location.Query);
628Assert.Contains("scope=baz%20qux", res.Headers.Location.Query);
652Assert.Contains("max_age=1234", res.Headers.Location.Query);
674Assert.Contains("max_age=1234", res.Headers.Location.Query);
695Assert.Contains("prompt=login&audience=https%3A%2F%2Fapi.example.com", res.Headers.Location.Query);
723Assert.Contains("request_uri=my_reference_value", res.Headers.Location.Query);
724Assert.Contains("client_id=Test%20Id", res.Headers.Location.Query);
727Assert.DoesNotContain("redirect_uri", res.Headers.Location.Query);
728Assert.DoesNotContain("scope", res.Headers.Location.Query);
729Assert.DoesNotContain("client_secret", res.Headers.Location.Query);
813Assert.DoesNotContain("request_uri=my_reference_value", res.Headers.Location.Query);
817Assert.Contains("redirect_uri", res.Headers.Location.Query);
818Assert.Contains("scope", res.Headers.Location.Query);
851Assert.Contains("request_uri=request_uri_from_event", res.Headers.Location.Query);
886Assert.DoesNotContain("scope", res.Headers.Location.Query);
917Assert.Contains("request_uri=my_reference_value", res.Headers.Location.Query);
918Assert.Contains("client_id=Test%20Id", res.Headers.Location.Query);
921Assert.DoesNotContain("prompt", res.Headers.Location.Query);
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Extensions\SourceGeneratedDocumentUri.cs (6)
64var query = System.Web.HttpUtility.ParseQueryString(documentUri.Query);
65var documentIdGuid = Guid.ParseExact(GetRequiredQueryValue(DocumentIdParam, query, documentUri.Query), GuidFormat);
66var hintName = GetRequiredQueryValue(HintNameParam, query, documentUri.Query);
67var assemblyName = GetRequiredQueryValue(AssemblyNameParam, query, documentUri.Query);
70var assemblyVersion = Version.Parse(GetRequiredQueryValue(AssemblyVersionParam, query, documentUri.Query));
71var typeName = GetRequiredQueryValue(TypeNameParam, query, documentUri.Query);
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (1)
Microsoft.Maui.Essentials (2)
PresentationFramework (1)
System.Net.HttpListener (2)
System.Net.WebClient (1)
System.Private.Uri (1)
System.Private.Xml (1)