摘要: 在微服务项目中使用的Identityserver4,给各个API添加认证时看到下面两种方式,写法一是原始的写法,写法二是Identityserver4封装的写法,主要是在根据token获取用户信息时存在差异。 写法一获取用户ID时的claim的type是 http://schemas.xmlsoap 阅读全文
posted @ 2020-06-11 15:33 diudiu1 阅读(761) 评论(0) 推荐(0) 编辑