【问题标题】:Where does the method ValidateRelyingParty derive from in itfoxtec-identity-saml2?itfoxtec-identity-saml2 中的方法 ValidateRelyingParty 从哪里派生?
【发布时间】:2019-08-26 09:23:45
【问题描述】:

在实现 ITfoxtec.Identity.Saml2 库时,我不确定如何在 https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestIdPCore/Controllers/AuthController.cs#L35 找到 ValidateRelyingParty() 的方法定义

任何方向都将不胜感激。

【问题讨论】:

    标签: c# saml-2.0 itfoxtec-identity-saml2


    【解决方案1】:

    该示例显示了 SAML 2.0 身份提供者 (IdP) 如何确保调用依赖方值得信赖。 ValidateRelyingParty 方法实现在https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestIdPCore/Controllers/AuthController.cs#L134

    ValidateRelyingParty 方法实例化可信依赖方列表并返回调用依赖方或失败。

    身份提供者 (IdP) 应验证是否允许依赖方登录/注销,最重要的是仅响应受信任的依赖方 URL。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多