41 writes to DefaultScheme
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
640.AddAuthentication(o => o.DefaultScheme = ConfigureDefaultAuthScheme(dashboardOptions))
IdentitySample.Mvc (1)
Startup.cs (1)
45o.DefaultScheme = IdentityConstants.ApplicationScheme;
Microsoft.AspNetCore.Authentication (1)
AuthenticationServiceCollectionExtensions.cs (1)
43=> services.AddAuthentication(o => o.DefaultScheme = defaultScheme);
Microsoft.AspNetCore.Authentication.Core.Test (7)
AuthenticationSchemeProviderTests.cs (2)
61o.DefaultScheme = "B"; 115o.DefaultScheme = "Def";
AuthenticationServiceTests.cs (4)
160o.DefaultScheme = "base"; 180o.DefaultScheme = "base"; 198o.DefaultScheme = "base"; 216o.DefaultScheme = "base";
TokenExtensionTests.cs (1)
129o.DefaultScheme = "simple";
Microsoft.AspNetCore.Authentication.Test (28)
OpenIdConnect\OpenIdConnectConfigurationTests.cs (9)
34o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 77o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 106o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 146o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 186o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 226o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 266o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 321o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme; 376o.DefaultScheme = OpenIdConnectDefaults.AuthenticationScheme;
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1273auth.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1273auth.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
RemoteAuthenticationTests.cs (1)
25s.Configure<AuthenticationOptions>(o => o.DefaultScheme = DefaultScheme);
SharedAuthenticationTests.cs (10)
33o.DefaultScheme = DefaultScheme; 90o.DefaultScheme = DefaultScheme; 132o.DefaultScheme = DefaultScheme; 172o.DefaultScheme = DefaultScheme; 222o.DefaultScheme = DefaultScheme; 251o.DefaultScheme = DefaultScheme; 290o.DefaultScheme = DefaultScheme; 329o.DefaultScheme = DefaultScheme; 398o.DefaultScheme = DefaultScheme; 467o.DefaultScheme = DefaultScheme;
WsFederation\WsFederationTest.cs (3)
51sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; 211sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; 284sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
WsFederation\WsFederationTest_Handler.cs (3)
49sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; 209sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; 282sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
Microsoft.AspNetCore.Identity.UI (1)
IdentityServiceCollectionUIExtensions.cs (1)
43o.DefaultScheme = IdentityConstants.ApplicationScheme;
OpenIdConnectSample (1)
Startup.cs (1)
95sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
WsFedSample (1)
Startup.cs (1)
25sharedOptions.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
9 references to DefaultScheme
Microsoft.AspNetCore.Authentication (1)
AuthenticationBuilder.cs (1)
124options.SignInScheme ??= _authOptions.DefaultSignInScheme ?? _authOptions.DefaultScheme;
Microsoft.AspNetCore.Authentication.Abstractions (3)
IAuthenticationSchemeProvider.cs (3)
29/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 37/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 53/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>.
Microsoft.AspNetCore.Authentication.Core (5)
AuthenticationSchemeProvider.cs (5)
58=> _options.DefaultScheme != null 59? GetSchemeAsync(_options.DefaultScheme) 65/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 76/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 98/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>.