winform调用webapi获取Token授权案例,webapi使用oauth2.0权限控制

上传者: gc101312 | 上传时间: 2022-04-06 01:25:21 | 文件大小: 3.87MB | 文件类型: RAR
通过winform使用httpclient客户端调用webApi接口,api使用oauth2.0权限控制,调用接口需要进行token获取认证、

文件下载

资源详情

[{"title":"( 51 个子文件 3.87MB ) winform调用webapi获取Token授权案例,webapi使用oauth2.0权限控制","children":[{"title":"WinFormToken","children":[{"title":"WinFormToken","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"Form2.Designer.cs <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"WinFormToken.csproj <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WinFormToken.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"WinFormToken.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WinFormToken.csproj.FileListAbsolute.txt <span style='color:#111;'> 1019B </span>","children":null,"spread":false},{"title":"WinFormToken.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.5.AssemblyAttributes.cs <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"WinFormToken.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WinFormToken.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false},{"title":"WinFormToken.csproj.GenerateResource.cache <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"WinFormToken.csproj.AssemblyReference.cache <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"WinFormToken.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WinFormToken.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"WinFormToken.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"WinFormToken.exe.config <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 685.54KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 693.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"Form2.cs <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"WinFormToken.sln <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":".vs","children":[{"title":"WinFormToken","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"packages","children":[{"title":"Newtonsoft.Json.13.0.1","children":[{"title":"packageIcon.png <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":".signature.p7s <span style='color:#111;'> 17.70KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"netstandard1.3","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 673.54KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 680.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"net20","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 558.54KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 592.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"netstandard2.0","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 679.04KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 692.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"net35","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 495.04KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 538.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"net40","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 562.54KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 550.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"net45","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 685.54KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 693.58KB </span>","children":null,"spread":false}],"spread":false},{"title":"netstandard1.0","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 655.04KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 672.72KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Newtonsoft.Json.13.0.1.nupkg <span style='color:#111;'> 1.97MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明