使用ASP.NET Core进行Ws联合身份验证 [英] Ws-Federation authentication with ASP.NET Core

查看:163
本文介绍了使用ASP.NET Core进行Ws联合身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将ASP.NET应用程序迁移到ASP.NET Core上,但是遇到了Ws-Federation身份验证的问题:没有[Ws-Federation]( https://www.nuget.org/packages?q=Microsoft.Owin.Security.WsFederation )OWIN中间件在ASP.NET Core平台中可用。

I am migrating an ASP.NET application to be on ASP.NET Core, but have met a problem of Ws-Federation authentication: there is no [Ws-Federation] (https://www.nuget.org/packages?q=Microsoft.Owin.Security.WsFederation) OWIN middleware available in ASP.NET Core platform.

但是我注意到ASP.NET Core的所有身份验证中间件现在都位于 Microsoft.AspNetCore.Authentication 名称空间,因此我从 nuget.org ,发现其中存在大多数身份验证包,但不幸的是,仅缺少 Microsoft.AspNetCore.Authentication.WsFederation

But I noticed all authentication middleware for ASP.NET Core are now under Microsoft.AspNetCore.Authentication namespace, so I searched all packages from nuget.org and found most of the authentication packages are there, but unfortunately only the Microsoft.AspNetCore.Authentication.WsFederation is missing.

所以,我想知道,是否由于尚未实施该软件包而导致该软件包丢失或由于其他原因?或者,是否存在用于Ws联盟的基于ASP.NET Core的身份验证中间件?

So, I would like to know, if the package is missing because it is not implemented yet or any other reason? Alternatively, is there existing ASP.NET Core based authentication middleware for Ws-Federation?

推荐答案

尚未实现,主要是因为。 NET Core没有所需的加密XML和XML dsig类。

It's not implemented yet, mainly because .NET Core doesn't have the encrypted XML and XML dsig classes needed.

请参见 https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/500

这篇关于使用ASP.NET Core进行Ws联合身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆