Implemented interface member:
2 overrides of Identity
System.Security.Claims (1)
System.Security.Principal.Windows (1)
193 references to Identity
Aspire.Dashboard (2)
AzureAppServicesHostingStartupSample (1)
AzureAppServicesSample (1)
BasicTestApp (1)
Certificate.Optional.Sample (2)
Certificate.Sample (1)
dotnet-user-jwts (1)
Identity.ExternalClaims (2)
IdentitySample.ApiEndpoints (1)
IISSample (1)
InProcessWebSite (10)
JwtBearerSample (2)
Microsoft.AspNetCore.Antiforgery.Test (6)
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (12)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Test (14)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Authorization.Policy (1)
Microsoft.AspNetCore.Authorization.Test (1)
Microsoft.AspNetCore.Components.Authorization.Tests (20)
AuthorizeViewTest.cs (17)
43Assert.Null(call.user.Identity);
58context => builder => builder.AddContent(0, $"You are not authorized, even though we know you are {context.User.Identity.Name}"));
78Assert.Equal("Nellie", call.user.Identity.Name);
106Assert.Equal("Nellie", call.user.Identity.Name);
122builder.AddContent(0, $"You are authenticated as {context.User.Identity.Name}"));
142Assert.Equal("Nellie", call.user.Identity.Name);
158builder.AddContent(0, $"You are authenticated as {context.User.Identity.Name}"));
178Assert.Equal("Nellie", call.user.Identity.Name);
194builder.AddContent(0, $"You are authenticated as {context.User.Identity.Name}"));
225Assert.Equal("Ronaldo", call.user.Identity.Name);
301authorized: context => builder => builder.AddContent(0, $"Hello, {context.User.Identity.Name}!"));
342Assert.Equal("Monsieur", call.user.Identity.Name);
360authorized: context => builder => builder.AddContent(0, $"Hello, {context.User.Identity.Name}!"));
400Assert.Equal("Monsieur", call.user.Identity.Name);
423Assert.Equal("Nellie", call.user.Identity.Name);
446Assert.Equal("Nellie", call.user.Identity.Name);
471Assert.Equal("Nellie", call.user.Identity.Name);
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Server.Tests (9)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Tests (7)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Owin.Tests (4)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (38)
Microsoft.AspNetCore.Shared.Tests (14)
SecurityHelperTests.cs (14)
19Assert.Equal("Alpha", user.Identity.AuthenticationType);
20Assert.Equal("Test1", user.Identity.Name);
22Assert.IsAssignableFrom<ClaimsIdentity>(user.Identity);
31Assert.Equal("Alpha", user.Identity.AuthenticationType);
32Assert.Equal("Test1", user.Identity.Name);
36Assert.Equal("Beta", user.Identity.AuthenticationType);
37Assert.Equal("Test2", user.Identity.Name);
41Assert.Equal("Gamma", user.Identity.AuthenticationType);
42Assert.Equal("Test3", user.Identity.Name);
60Assert.False(existingPrincipal.Identity.IsAuthenticated);
71Assert.False(user.Identity.IsAuthenticated);
72Assert.Null(user.Identity.Name);
83Assert.Equal("Gamma", user.Identity.AuthenticationType);
84Assert.Equal("Test3", user.Identity.Name);
Microsoft.AspNetCore.Tests (3)
MinimalJwtBearerSample (2)
MinimalOpenIdConnectSample (1)
NativeIISSample (1)
Negotiate.Server (2)
NegotiateAuthSample (1)
OpenIdConnectSample (3)
ServerComparison.TestSites (2)
SocialSample (2)
StaticFilesAuth (1)
System.Security.Claims (1)
WsFedSample (3)