79444267

Date: 2025-02-17 02:14:58
Score: 2
Natty:
Report link

SignInAsync is not directly on the HttpContext object, it is an extension method which is on a class called AuthenticationHttpContextExtensions in the Microsoft.AspNetCore.Authentication namespace. So if you can see the HttpContext object but can't see the SignInAsync method on it, try adding a

@using Microsoft.AspNetCore.Authentication

Reasons:
  • No code block (0.5):
  • User mentioned (1): @using
  • Low reputation (0.5):
Posted by: Kelvin