简体   繁体   English

如何使用 ITfoxtec Identity SAML 2.0 库验证 C# 中的 Azure AD SAML 2.0 断言

[英]How to Validate Azure AD SAML 2.0 Assertion in C# using ITfoxtec Identity SAML 2.0 library

My project technology is ASP.NET Webforms (.NET framework 4.6.2).我的项目技术是ASP.NET Webforms(.NET framework 4.6.2)。 We are using "ITfoxtec Identity SAML 2.0" library for Azure AD SAML Authentication.我们正在使用“ITfoxtec Identity SAML 2.0”库进行 Azure AD SAML 身份验证。 The sample code present in Itfoxtech website was helpful but, my manager asked me, how you are validating saml assertion once user login was successful? Itfoxtech 网站上的示例代码很有帮助,但我的经理问我,一旦用户登录成功,你如何验证 saml 断言? But, I didn't find any documentation regading validating saml assertion when user login successful.但是,当用户登录成功时,我没有找到任何文档重新验证 saml 断言。 can you please let me know how to do that?你能告诉我该怎么做吗? I am not aware of SAML before, hence, could you please explain in details?我以前不知道SAML,因此,你能详细解释一下吗?

Validating Azure AD SAML Assertion in ASP.NET Webforms applicaiton在 ASP.NET Webforms 应用程序中验证 Azure AD SAML 断言

The SAML 2.0 assertion is part of the SAML 2.0 authn response sendt from Azure AD. SAML 2.0 断言是来自 Azure AD 的 SAML 2.0 身份验证响应发送的一部分。 The ITfoxtec Identity SAML 2.0 library validates the authn response and the assertion. ITfoxtec Identity SAML 2.0 库验证身份验证响应和断言。 By validating the signature(s), issuer, audience and time.通过验证签名、发行者、观众和时间。

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

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