简体   繁体   中英

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.

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.

What's going on with this package?

An answer from my codeplex issue

That package primarily works with Azure Active Directory (AAD) and Active Directory Federation Services (ADFS) via WsFederation. We don't have any support for LDAP, but some 3rd parties may. Here's one example: https://auth0.com/authenticate/aspnet-owin/active-directory

Contributions for new auth middleware are best directed here: 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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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