1 write to Name
Microsoft.AspNetCore.Authentication.Abstractions (1)
130 references to Name
Aspire.Dashboard (3)
Aspire.Hosting (1)
BasicWebSite (2)
Certificate.Sample (1)
DynamicSchemes (3)
IdentitySample.Mvc (6)
artifacts\obj\IdentitySample.Mvc\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Views_Manage_ManageLogins_cshtml.g.cs (2)
332provider.Name
347provider.Name
InProcessWebSite (1)
Microsoft.AspNetCore.Authentication (16)
Microsoft.AspNetCore.Authentication.BearerToken (3)
Microsoft.AspNetCore.Authentication.Cookies (7)
Microsoft.AspNetCore.Authentication.Core (14)
Microsoft.AspNetCore.Authentication.Core.Test (21)
AuthenticationSchemeProviderTests.cs (21)
49Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name);
50Assert.Equal("B", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name);
51Assert.Equal("B", (await provider.GetDefaultChallengeSchemeAsync())!.Name);
52Assert.Equal("B", (await provider.GetDefaultSignInSchemeAsync())!.Name);
53Assert.Equal("B", (await provider.GetDefaultSignOutSchemeAsync())!.Name);
67Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name);
68Assert.Equal("B", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name);
69Assert.Equal("B", (await provider.GetDefaultChallengeSchemeAsync())!.Name);
70Assert.Equal("B", (await provider.GetDefaultSignInSchemeAsync())!.Name);
71Assert.Equal("B", (await provider.GetDefaultSignOutSchemeAsync())!.Name);
87Assert.Equal("signin", scheme!.Name);
103Assert.Equal("challenge", scheme!.Name);
124Assert.Equal("B", (await provider.GetDefaultForbidSchemeAsync())!.Name);
125Assert.Equal("C", (await provider.GetDefaultAuthenticateSchemeAsync())!.Name);
126Assert.Equal("A", (await provider.GetDefaultChallengeSchemeAsync())!.Name);
127Assert.Equal("C", (await provider.GetDefaultSignInSchemeAsync())!.Name);
128Assert.Equal("A", (await provider.GetDefaultSignOutSchemeAsync())!.Name);
227provider.RemoveScheme(scheme2.Name);
231provider.RemoveScheme(scheme2.Name);
235provider.RemoveScheme(scheme1.Name);
239provider.RemoveScheme(scheme3.Name);
Microsoft.AspNetCore.Authentication.Facebook (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
Microsoft.AspNetCore.Authentication.Test (23)
PolicyTests.cs (6)
375id.AddClaim(new Claim(ClaimTypes.NameIdentifier, Scheme.Name, ClaimValueTypes.String, Scheme.Name));
377return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
425id.AddClaim(new Claim(ClaimTypes.NameIdentifier, Scheme.Name, ClaimValueTypes.String, Scheme.Name));
427return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
TestHandlers.cs (6)
40id.AddClaim(new Claim(ClaimTypes.NameIdentifier, Scheme.Name, ClaimValueTypes.String, Scheme.Name));
42return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
72id.AddClaim(new Claim(ClaimTypes.NameIdentifier, Scheme.Name, ClaimValueTypes.String, Scheme.Name));
74return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(principal, new AuthenticationProperties(), Scheme.Name)));
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Identity.UI (10)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IISIntegration (1)
Sample (1)
SocialSample (1)