内容目录
Introduction
Purpose of Writing
Requirements Analysis
Overview Design
1. Create a new feature to identify permission control;
2. Permission control is based on Controller and Action;
3. Based on the built-in permission authentication of ASP.NET Core;
4. Requires rapid response;
5. Supports response events, triggering events at different stages of the validation process;
6. Set up an interface to define methods for determining whether a user has permission;
7. Supports either attributes or the default ASP.NET Core authorization attributes, allowing access to APIs as long as logged in;
8. Supports custom authorization codes for 401, 403, etc.
文章评论