08 2022 档案
摘要:.Net Core提供了JWT的认证方案,开箱即用,我们再配合Redis启用黑名单机制,基本可以满足需求 基本功能 开启JWT认证: public void ConfigureServices(IServiceCollection services) { services.AddAuthentica
阅读全文
摘要:// 隐藏 [ApiExplorerSettings(IgnoreApi = true)] // 分组 [ApiExplorerSettings(groupName="xxxx")]
阅读全文
摘要:首先我们来创建一个 WebAPI 应用。 然后引入 Microsoft.AspNetCore.Authentication.JwtBearer 包。 策略 Startup 类的 ConfigureServices 方法中,添加一个策略的形式如下: services.AddAuthorization(
阅读全文
摘要:点击这个地址:Postman 汉化(Postman中文版) - 腾讯云开发者社区-腾讯云 (tencent.com)
阅读全文
摘要:首先下载SVN程序包,安装SVN TortoiseSVN-1.10.1.28295-x64-svn-1.10.2.msi。一直单击下一步即可。 当前版本地址:Downloading File /Archive/1.10.1/Language Packs/LanguagePack_1.10.1.282
阅读全文