HttpContext.User.Identity.IsAuthenticated ,
(true, , - false). : HttpContext.User = new
ClaimsPrincipal(new ClaimsIdentity("SomeAuthType")); (, JwtBearer),
.- SignInManager - aspnet, , cookie . , :
return principal?.Identities != null && principal.Identities.Any(i => i.AuthenticationType == Options.Cookies.ApplicationCookieAuthenticationScheme);.
, aspnet , aspnet ( app.UseIdentity()), SignInManager.IsSignedIn. aspnet , , HttpContext.User.Identity.IsAuthenticated.