IdentityServer3与外部用户管理

编程入门 行业动态 更新时间:2024-10-19 17:22:50
本文介绍了IdentityServer3与外部用户管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

由于其中web托管IdentityServer3的只处理一个场景的授权的,是由外部的定制服务处理用户认证,什么是落实以支持这一要求?自定义OWIN中间件?

Given a scenario where a web hosted IdentityServer3 only handles authorization, being user authentication handled by an external custom service, what is required to implement to support this? A custom OWIN middleware?

推荐答案

可以连接到你的外部定制服务的形式你IUserService内(idsrv特定的) - 或者把它作为一个外部标识提供者。在这种情况下,你需要写一个卡塔纳认证中间件它(可复用的武士刀组件)。

Either connect to your "external custom service" form within your IUserService (idsrv specific) - or treat it as an external identity provider. In that case you need to write a Katana authentication middleware for it (reusable Katana component).

有关将UserService检查IdentityServer文档。对于武士刀认证的中间件 - 不知道是否有针对官方文档 - 我是覆盖它简单地在我的Web API的安全性当然

For the UserService check the IdentityServer docs. For Katana authentication middleware - not sure if there is official documentation for that - I covered that briefly it in my Web API security course.

www.pluralsight/courses/webapi-v2-security

更多推荐

IdentityServer3与外部用户管理

本文发布于:2023-11-17 02:05:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1608410.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!