Implemented interface member:
3 overrides of IsAuthenticated
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenGeneratorTest.cs (1)
609public override bool IsAuthenticated
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
74public override bool IsAuthenticated
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
253public override bool IsAuthenticated { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } }
24 references to IsAuthenticated
Aspire.Dashboard (2)
Authentication\AspirePolicyEvaluator.cs (1)
145newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Components\Controls\UserProfile.razor.cs (1)
48if (claimsIdentity?.IsAuthenticated == true)
CookieSample (1)
Program.cs (1)
41if (!context.User.Identities.Any(identity => identity.IsAuthenticated))
CookieSessionSample (1)
Startup.cs (1)
32if (!context.User.Identities.Any(identity => identity.IsAuthenticated))
Microsoft.AspNetCore.Antiforgery (4)
Internal\DefaultAntiforgeryTokenGenerator.cs (2)
207if (identitiesList[i].IsAuthenticated) 217if (identity.IsAuthenticated)
Internal\DefaultClaimUidExtractor.cs (2)
50if (!identity.IsAuthenticated) 96if (identitiesList[i].IsAuthenticated)
Microsoft.AspNetCore.Antiforgery.Test (3)
DefaultAntiforgeryTokenGeneratorTest.cs (1)
183mockIdentity.Setup(o => o.IsAuthenticated)
DefaultClaimUidExtractorTest.cs (2)
22mockIdentity.Setup(o => o.IsAuthenticated) 37mockIdentity.Setup(o => o.IsAuthenticated)
Microsoft.AspNetCore.Authentication (1)
src\Shared\SecurityHelper\SecurityHelper.cs (1)
42newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationOptions.cs (1)
95/// A user is considered authenticated if <see cref="ClaimsIdentity.IsAuthenticated"/> returns <see langword="true" /> for the <see cref="ClaimsPrincipal"/> associated with the HTTP request.
Microsoft.AspNetCore.Authorization (1)
DenyAnonymousAuthorizationRequirement.cs (1)
27!user.Identities.Any(i => i.IsAuthenticated);
Microsoft.AspNetCore.Authorization.Policy (1)
src\Shared\SecurityHelper\SecurityHelper.cs (1)
42newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\SecurityHelper\SecurityHelper.cs (1)
42newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\SecurityHelper\SecurityHelper.cs (1)
42newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
Microsoft.AspNetCore.Mvc.Core.Test (1)
Authorization\AuthorizeFilterTest.cs (1)
27Assert.Contains(authorizationContext.HttpContext.User.Identities, i => i.IsAuthenticated);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\SecurityHelper\SecurityHelper.cs (1)
42newPrincipal.AddIdentities(existingPrincipal.Identities.Where(i => i.IsAuthenticated || i.Claims.Any()));
OpenIdConnectSample (1)
Startup.cs (1)
217if (user == null || !user.Identities.Any(identity => identity.IsAuthenticated))
SocialSample (2)
Startup.cs (2)
291if (!userResult.Succeeded || user == null || !user.Identities.Any(identity => identity.IsAuthenticated)) 434if (user == null || !user.Identities.Any(identity => identity.IsAuthenticated))
System.Security.Claims (1)
System\Security\Claims\ClaimsIdentity.cs (1)
948string debugText = $"IsAuthenticated = {(IsAuthenticated ? "true" : "false")}";
WsFedSample (1)
Startup.cs (1)
98if (user == null || !user.Identities.Any(identity => identity.IsAuthenticated))