In this article, ClaimsPrincipal.Current isn't set in ASP.NET Core. So, it uses dependency injection to provide dependencies such as the current user's identity.
There are several options for retrieving the current authenticated user's ClaimsPrincipal:
2020-08-24