How to verify which WordPress user requested the API in ASP .NET Core?

How to verify which WordPress user requested the API in ASP .NET Core?