24 instantiations of AuthenticationScheme
Aspire.Dashboard.Tests (1)
DynamicSchemes (1)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Core.Test (9)
AuthenticationSchemeProviderTests.cs (9)
166Assert.True(o.TryAddScheme(new AuthenticationScheme("signin", "whatever", typeof(Handler))));
167Assert.True(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(Handler))));
168Assert.False(o.TryAddScheme(new AuthenticationScheme("signin", "whatever", typeof(Handler))));
169Assert.True(o.TryAddScheme(new AuthenticationScheme("signin3", "whatever", typeof(Handler))));
170Assert.False(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(Handler))));
172Assert.True(o.TryAddScheme(new AuthenticationScheme("signin2", "whatever", typeof(Handler))));
203var scheme1 = new AuthenticationScheme("signin1", "whatever", typeof(Handler));
204var scheme2 = new AuthenticationScheme("signin2", "whatever", typeof(Handler));
205var scheme3 = new AuthenticationScheme("signin3", "whatever", typeof(Handler));
Microsoft.AspNetCore.Authentication.Test (5)
Microsoft.AspNetCore.Identity.Test (4)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IISIntegration (1)
193 references to AuthenticationScheme
DynamicSchemes (1)
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Index_cshtml.g.cs (1)
88foreach (var scheme in schemes)
IdentitySample.Mvc (3)
artifacts\obj\IdentitySample.Mvc\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Account_Login_cshtml.g.cs (1)
499foreach (var provider in loginProviders)
artifacts\obj\IdentitySample.Mvc\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Manage_ManageLogins_cshtml.g.cs (1)
320foreach (var provider in Model.OtherLogins)
IISSample (1)
InProcessWebSite (1)
Microsoft.AspNetCore.Authentication (25)
Microsoft.AspNetCore.Authentication.Abstractions (23)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Certificate (3)
Microsoft.AspNetCore.Authentication.Cookies (5)
Microsoft.AspNetCore.Authentication.Core (34)
Microsoft.AspNetCore.Authentication.Core.Test (17)
AuthenticationSchemeProviderTests.cs (11)
85var scheme = await provider.GetDefaultSignOutSchemeAsync();
101var scheme = await provider.GetDefaultForbidSchemeAsync();
185var a = await provider.GetSchemeAsync("signin");
186var b = await provider.GetSchemeAsync("SignIn");
187var c = await provider.GetSchemeAsync("SIGNIN");
203var scheme1 = new AuthenticationScheme("signin1", "whatever", typeof(Handler));
204var scheme2 = new AuthenticationScheme("signin2", "whatever", typeof(Handler));
205var scheme3 = new AuthenticationScheme("signin3", "whatever", typeof(Handler));
247private async Task VerifyAllDefaults(IAuthenticationSchemeProvider provider, AuthenticationScheme? expected)
273public Task InitializeAsync(AuthenticationScheme scheme, HttpContext context)
303: base(options, new Dictionary<string, AuthenticationScheme>(StringComparer.OrdinalIgnoreCase))
Microsoft.AspNetCore.Authentication.JwtBearer (5)
Microsoft.AspNetCore.Authentication.Negotiate (4)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (9)
Microsoft.AspNetCore.Authentication.Test (14)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (6)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Identity.Test (14)
Microsoft.AspNetCore.Identity.UI (12)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.IISIntegration (2)
Microsoft.AspNetCore.Server.IISIntegration.Tests (2)
NativeIISSample (1)
SocialSample (1)