文章转自
https://blog.csdn.net/liwan09/article/details/83820651
参考资料:
https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/authentication-filters