26 writes to CallbackPath
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
733options.CallbackPath = TargetLocationInterceptor.ResourcesPath;
Microsoft.AspNetCore.Authentication.Facebook (1)
FacebookOptions.cs (1)
20CallbackPath = new PathString("/signin-facebook");
Microsoft.AspNetCore.Authentication.Google (1)
GoogleOptions.cs (1)
20CallbackPath = new PathString("/signin-google");
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountOptions.cs (1)
20CallbackPath = new PathString("/signin-microsoft");
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectConfigureOptions.cs (1)
47options.CallbackPath = new PathString(configSection[nameof(options.CallbackPath)] ?? options.CallbackPath.Value);
OpenIdConnectOptions.cs (1)
44CallbackPath = new PathString("/signin-oidc");
Microsoft.AspNetCore.Authentication.Test (14)
OAuthTests.cs (9)
41o.CallbackPath = "/"; 58o.CallbackPath = "/"; 90o.CallbackPath = "/"; 106o.CallbackPath = "/"; 287o.CallbackPath = "/oauth-callback"; 303opt.CallbackPath = "/oauth-callback"; 330opt.CallbackPath = "/oauth-callback"; 365opt.CallbackPath = "/oauth-callback"; 401opt.CallbackPath = "/oauth-callback";
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (2)
22opt.CallbackPath = new PathString("/"); 47opt.CallbackPath = new PathString("/");
OpenIdConnect\OpenIdConnectConfigurationTests.cs (3)
503o.CallbackPath = "/"; 518o.CallbackPath = "/"; 533o.CallbackPath = "/";
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterOptions.cs (1)
24CallbackPath = new PathString("/signin-twitter");
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationOptions.cs (1)
36CallbackPath = "/signin-wsfed";
WsFederationPostConfigureOptions.cs (1)
55options.CallbackPath = PathString.FromUriComponent(wreply);
SocialSample (3)
Startup.cs (3)
119o.CallbackPath = new PathString("/signin-github"); 158o.CallbackPath = new PathString("/signin-github-token"); 173o.CallbackPath = new PathString("/signin-identityserver");
22 references to CallbackPath
Microsoft.AspNetCore.Authentication (6)
RemoteAuthenticationHandler.cs (1)
69=> Task.FromResult(Options.CallbackPath == Request.Path);
RemoteAuthenticationOptions.cs (5)
53if (CallbackPath == null || !CallbackPath.HasValue) 55throw new ArgumentException(Resources.FormatException_OptionMustBeProvided(nameof(CallbackPath)), nameof(CallbackPath)); 167protected override string AdditionalPath => _options.CallbackPath;
Microsoft.AspNetCore.Authentication.OAuth (5)
OAuthHandler.cs (2)
133var codeExchangeContext = new OAuthCodeExchangeContext(properties, code.ToString(), BuildRedirectUri(Options.CallbackPath)); 273var authorizationEndpoint = BuildChallengeUrl(properties, BuildRedirectUri(Options.CallbackPath));
OAuthOptions.cs (3)
34if (!CallbackPath.HasValue) 36throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.Exception_OptionMustBeProvided, nameof(CallbackPath)), nameof(CallbackPath));
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectConfigureOptions.cs (2)
47options.CallbackPath = new PathString(configSection[nameof(options.CallbackPath)] ?? options.CallbackPath.Value);
OpenIdConnectHandler.cs (1)
403RedirectUri = BuildRedirectUri(Options.CallbackPath),
OpenIdConnectOptions.cs (3)
102if (!CallbackPath.HasValue) 104throw new ArgumentException("Options.CallbackPath must be provided.", nameof(CallbackPath)); 350protected override string AdditionalPath => _options.CallbackPath;
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectTests.cs (1)
448Assert.Equal(new PathString("/signin-oidc"), options.CallbackPath); // Assert default callback paths are respected
OpenIdConnect\TestSettings.cs (1)
251ValidateParameter(OpenIdConnectParameterNames.RedirectUri, TestServerBuilder.TestHost + _options.CallbackPath, actualParams, errors, htmlEncoded);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
172var requestToken = await ObtainRequestTokenAsync(BuildRedirectUri(Options.CallbackPath), properties);
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationHandler.cs (1)
111wsFederationMessage.Wreply = BuildRedirectUri(Options.CallbackPath);
WsFederationPostConfigureOptions.cs (1)
52if (!options.CallbackPath.HasValue && !string.IsNullOrEmpty(options.Wreply) && Uri.TryCreate(options.Wreply, UriKind.Absolute, out var wreply))