31 writes to ForwardDefault
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
704o.ForwardDefault = CookieAuthenticationDefaults.AuthenticationScheme; 742o.ForwardDefault = CookieAuthenticationDefaults.AuthenticationScheme;
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerConfigureOptions.cs (1)
55options.ForwardDefault = configSection[nameof(options.ForwardDefault)] ?? options.ForwardDefault;
Microsoft.AspNetCore.Authentication.Negotiate (1)
PostConfigureNegotiateOptions.cs (1)
50options.ForwardDefault = _serverAuth.AuthenticationScheme;
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectConfigureOptions.cs (1)
55options.ForwardDefault = configSection[nameof(options.ForwardDefault)] ?? options.ForwardDefault;
Microsoft.AspNetCore.Authentication.Test (25)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (9)
40o.ForwardDefault = "auth1"; 84o.ForwardDefault = "auth1"; 113o.ForwardDefault = "auth1"; 153o.ForwardDefault = "auth1"; 193o.ForwardDefault = "auth1"; 233o.ForwardDefault = "auth1"; 274o.ForwardDefault = "auth1"; 329o.ForwardDefault = "auth1"; 384o.ForwardDefault = "auth1";
PolicyTests.cs (6)
30p.ForwardDefault = "auth1"; 65p.ForwardDefault = "auth2"; 121p.ForwardDefault = "auth1"; 177p.ForwardDefault = "auth2"; 236.AddPolicyScheme("forward", "forward", p => p.ForwardDefault = "auth1"); 290p.ForwardDefault = "auth1";
SharedAuthenticationTests.cs (10)
36RegisterAuth(builder, o => o.ForwardDefault = "auth1"); 96o.ForwardDefault = "auth1"; 138o.ForwardDefault = "auth1"; 178o.ForwardDefault = "auth1"; 228o.ForwardDefault = "auth1"; 257o.ForwardDefault = "auth1"; 296o.ForwardDefault = "auth1"; 336o.ForwardDefault = "auth1"; 405o.ForwardDefault = "auth1"; 474o.ForwardDefault = "auth1";
Microsoft.AspNetCore.Identity (1)
IdentityServiceCollectionExtensions.cs (1)
144compositeOptions.ForwardDefault = IdentityConstants.BearerScheme;
8 references to ForwardDefault
Microsoft.AspNetCore.Authentication (1)
AuthenticationHandler.cs (1)
206var target = scheme ?? Options.ForwardDefaultSelector?.Invoke(Context) ?? Options.ForwardDefault;
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerConfigureOptions.cs (2)
55options.ForwardDefault = configSection[nameof(options.ForwardDefault)] ?? options.ForwardDefault;
Microsoft.AspNetCore.Authentication.Negotiate (1)
PostConfigureNegotiateOptions.cs (1)
47if (options.ForwardDefault == null)
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
ServerDeferralTests.cs (2)
22Assert.Null(options.ForwardDefault); 39Assert.Equal("DeferralScheme", options.ForwardDefault);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectConfigureOptions.cs (2)
55options.ForwardDefault = configSection[nameof(options.ForwardDefault)] ?? options.ForwardDefault;