itfoxtec-identity-saml2 中的方法 ValidateRelyingParty 从哪里派生?
Posted
技术标签:
【中文标题】itfoxtec-identity-saml2 中的方法 ValidateRelyingParty 从哪里派生?【英文标题】:Where does the method ValidateRelyingParty derive from in itfoxtec-identity-saml2? 【发布时间】: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() 的方法定义
任何方向都将不胜感激。
【问题讨论】:
【参考方案1】:该示例显示了 SAML 2.0 身份提供者 (IdP) 如何确保调用依赖方值得信赖。 ValidateRelyingParty 方法实现在https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestIdPCore/Controllers/AuthController.cs#L134
ValidateRelyingParty 方法实例化可信依赖方列表并返回调用依赖方或失败。
身份提供者 (IdP) 应验证是否允许依赖方登录/注销,最重要的是仅响应受信任的依赖方 URL。
【讨论】:
以上是关于itfoxtec-identity-saml2 中的方法 ValidateRelyingParty 从哪里派生?的主要内容,如果未能解决你的问题,请参考以下文章
Ruby 编程语言书在 ruby 2.2.2 中仍然有效吗?
PostgreSQL ,从 2 个表中选择,但仅从表 2 中选择最新的元素
Python中,dict(((1,2),(2,3)))可以,为啥dict((1,2))会报错呢?
在 Asp.net core 2.2.1 中访问 XMLHttpRequest
在 Ruby on Rails 3.2.14 / Ruby 2.0.0 / PostgreSQL 9.2.4 中使用 activerecord 从序列中检索 nextval