摘要: https://blog.csdn.net/donghustone/article/details/83338185?tdsourcetag=s_pcqq_aiomsg 阅读全文
posted @ 2019-03-11 13:44 高山-景行 阅读(244) 评论(0) 推荐(0)
摘要: 11.ClientCredential模式总结 服务端定义的Resource叫做api Resource API默认是被保护的 第三方的客户端先去请求 Server拿到access token。带着token信息才能去访问Resource API 阅读全文
posted @ 2019-03-11 12:59 高山-景行 阅读(979) 评论(0) 推荐(0)
摘要: 10.第三方ClientCredential模式调用 IdentityModel的官方文档: https://identitymodel.readthedocs.io/en/latest/index.html ThirdPartyDemo 创建第三方的应用程序,相当于它来请求我们的API 创建控制台 阅读全文
posted @ 2019-03-11 01:05 高山-景行 阅读(846) 评论(0) 推荐(0)
摘要: 09.客户端集成IdentityServer 新建API的项目 dotnet new webapi --name ClientCredentialApi 在我们上一节课的代码IdentityServerSample中加入授权的认证 引入命名空间: using Microsoft.AspNetCore 阅读全文
posted @ 2019-03-11 01:04 高山-景行 阅读(413) 评论(0) 推荐(0)