CZGL.ApiAuth Design Requirements

2020年3月12日 3816点热度 1人点赞 1条评论
内容目录

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.

Detailed Design

Project Analysis

Project Introduction and Function Analysis

Project Operating Environment

Project Application Scenarios

痴者工良

高级程序员劝退师

文章评论