简体   繁体   English

Microsoft.Owin.Security.ActiveDirectory用于制作使用AD的Owin auth中间件吗?

[英]Is Microsoft.Owin.Security.ActiveDirectory for making Owin auth middleware that uses AD?

I'm trying to understand the purpose of Microsoft.Owin.Security.ActiveDirectory and can't seem to find any documentation, tests, or even much in the way of articles. 我想了解的目的Microsoft.Owin.Security.ActiveDirectory ,似乎无法找到任何文档,测试,甚至很多在文章的方式。

What is this package actually for? 这包真的是什么? I was trying to use it to create middlewear that authenticates against active directory and just can't seem to trace through what the parameters for UseActiveDirectoryFederationServicesBearerAuthentication actually do nor how to use them to point at my own AD server. 我试图使用它来创建针对活动目录进行身份验证的UseActiveDirectoryFederationServicesBearerAuthentication并且似乎无法跟踪UseActiveDirectoryFederationServicesBearerAuthentication实际执行的参数以及如何使用它们指向我自己的AD服务器。

What's going on with this package? 这个套餐发生了什么事?

An answer from my codeplex issue 我的codeplex问题的答案

That package primarily works with Azure Active Directory (AAD) and Active Directory Federation Services (ADFS) via WsFederation. 该程序包主要通过WsFederation与Azure Active Directory(AAD)和Active Directory联合身份验证服务(ADFS)一起使用。 We don't have any support for LDAP, but some 3rd parties may. 我们对LDAP没有任何支持,但有些第三方可能会。 Here's one example: https://auth0.com/authenticate/aspnet-owin/active-directory 这是一个例子: https//auth0.com/authenticate/aspnet-owin/active-directory

Contributions for new auth middleware are best directed here: https://github.com/owin-middleware 新的auth中间件的贡献最好指向这里: https//github.com/owin-middleware

Still nothing on how to actually use it or when though. 关于如何实际使用它或什么时候仍然没有。

以下是最全面的文章: http ://www.cloudidentity.com/blog/2013/12/10/protecting-a-self-hosted-api-with-microsoft-owin-security-activedirectory/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM