.NET Core Web API key
问题 I am developing an application that users can authenticate via username and password and we provide a JWT token that then gets validated on the server. One thing I would like to add is the ability to have a special API Key (guid) that the users can use when integrating with this application instead of using a username and password. I am unsure how to do this since the authentication part seems to be a bit of a black box (using Aspnet Identity). Here is some of my code for the authentication