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)
187 references to AuthenticationScheme
Identity.ExternalClaims (2)
IdentitySample.DefaultUI (1)
IdentitySample.Mvc (1)
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 (6)
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)