2 types derived from UrlEncoder
Microsoft.Extensions.WebEncoders (1)
System.Text.Encodings.Web (1)
200 references to UrlEncoder
Aspire.Dashboard (5)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (1)
BasicWebSite (1)
CustomAuthorizationFailureResponse (1)
Diagnostics.EFCore.FunctionalTests (2)
DynamicSchemes (1)
Identity.DefaultUI.WebSite (1)
Identity.ExternalClaims (2)
Microsoft.AspNetCore.Authentication (21)
PolicySchemeHandler.cs (4)
21/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
24public PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
32/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
33public PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
SignInAuthenticationHandler.cs (4)
22/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
25public SignInAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
33/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
34public SignInAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
SignOutAuthenticationHandler.cs (4)
21/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
24public SignOutAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
32/// <param name="encoder">The <see cref="UrlEncoder"/>.</param>
33public SignOutAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Cookies (4)
Microsoft.AspNetCore.Authentication.Facebook (2)
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
Microsoft.AspNetCore.Authentication.Negotiate (2)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.Authentication.Test (33)
GoogleTests.cs (20)
153Assert.Contains("&scope=" + UrlEncoder.Default.Encode("openid profile email"), query);
471ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
507ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
520Assert.Equal("/error?FailureMessage=itfailed" + UrlEncoder.Default.Encode(";Description=whyitfailed;Uri=https://example.com/fail"), transaction.Response.Headers.GetValues("Location").First());
556"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
608ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
623"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
629Assert.Equal("/error?FailureMessage=" + UrlEncoder.Default.Encode("OAuth token endpoint failure: Status: BadRequest;Headers: ;Body: {\"Error\":\"Error\"};"),
661ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
675"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
681Assert.Equal("/error?FailureMessage=" + UrlEncoder.Default.Encode("Failed to retrieve access token."),
719"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
759"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
806"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
840ctx.Response.Redirect("/error?FailureMessage=" + UrlEncoder.Default.Encode(ctx.Failure.Message));
853Assert.Equal("/error?FailureMessage=" + UrlEncoder.Default.Encode("The oauth state was missing or invalid."),
880"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
924"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
968"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
1005"https://example.com/signin-google?code=TestCode&state=" + UrlEncoder.Default.Encode(state),
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Diagnostics (4)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (4)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Extensions.Tests (3)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Identity.UI (4)
Microsoft.AspNetCore.Mvc.Core.Test (8)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Microsoft.AspNetCore.Routing (15)
Microsoft.AspNetCore.Routing.Tests (13)
Template\TemplateBinderTests.cs (11)
113UrlEncoder.Default,
262UrlEncoder.Default,
710UrlEncoder.Default,
1139UrlEncoder.Default,
1237UrlEncoder.Default,
1266UrlEncoder.Default,
1296UrlEncoder.Default,
1326UrlEncoder.Default,
1356UrlEncoder.Default,
1390UrlEncoder.Default,
1420UrlEncoder.Default,
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Tests (1)
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.DotNet.Helix.Client (2)
Microsoft.Extensions.WebEncoders (5)
Microsoft.Extensions.WebEncoders.Tests (9)
PathSchemeSelection (1)
System.Text.Encodings.Web (8)
Wasm.Performance.Driver (1)