简体   繁体   English

C#MVC ADFS身份验证

[英]C# MVC ADFS Authentication

I have a C# MVC application which requires ADFS authentication. 我有一个需要ADFS身份验证的C#MVC应用程序。 ADFS was not considered at the initial stage of the development until completion of the application. 在开发的初始阶段,直到应用程序完成之前,才考虑使用ADFS。 Any ideas on how to make the application aware of ADFS? 关于如何使应用程序了解ADFS的任何想法? I have configured ADFS with the right claims, the challenge is making the application aware. 我已经用正确的声明配置了ADFS,挑战在于使应用程序知道。 Any idea is appreciated. 任何想法表示赞赏。 I am using ADFS 2.0. 我正在使用ADFS 2.0。 It is On-Premise ADFS 它是本地ADFS

Making the application "ADFS aware" requires that the application uses one of the supported protocols ie WS-Fed, SAML or OpenID Connect. 使应用程序具有“ ADFS感知”功能要求该应用程序使用受支持的协议之一,即WS-Fed,SAML或OpenID Connect。

Adding WIF (WS-Fed) is a good option. 添加WIF(WS-Fed)是一个不错的选择。

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

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