# web api_JWT **Repository Path**: CoreNet/web-api_JWT ## Basic Information - **Project Name**: web api_JWT - **Description**: 举例说明了用JWT作为授权认证框架的web API项目 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-12-11 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web api_JWT #### 介绍 举例说明了用JWT作为授权认证框架的web API项目 #### 软件架构 软件架构说明 ASP.net core Web API + JWT #### 使用说明 1. 项目引用了NuGet包 IdentityModel, Microsoft.AspNetCore.Authentication.JwtBearer, Microsoft.AspNetCore.Authorization 2. post 获取token ![输入图片说明](https://images.gitee.com/uploads/images/2020/0818/113941_bd12808b_7867726.png "post.png") 3. get 将token复制到参数中, ![输入图片说明](https://images.gitee.com/uploads/images/2020/0818/114021_0c3f2d8e_7867726.png "get.png") #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)