SamlSerializer.LoadConditions 方法

定义

使用指定的 XML 读取器读取评估 SAML 断言有效性时必须考虑的条件集。

public:
 virtual System::IdentityModel::Tokens::SamlConditions ^ LoadConditions(System::Xml::XmlDictionaryReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ outOfBandTokenResolver);
public virtual System.IdentityModel.Tokens.SamlConditions LoadConditions (System.Xml.XmlDictionaryReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);
abstract member LoadConditions : System.Xml.XmlDictionaryReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SamlConditions
override this.LoadConditions : System.Xml.XmlDictionaryReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SamlConditions
Public Overridable Function LoadConditions (reader As XmlDictionaryReader, keyInfoSerializer As SecurityTokenSerializer, outOfBandTokenResolver As SecurityTokenResolver) As SamlConditions

参数

reader
XmlDictionaryReader

一个读取 SAML 条件的 XmlDictionaryReader

keyInfoSerializer
SecurityTokenSerializer

一个 SecurityTokenSerializer,它读取数字签名的 KeyInfo 子句。

outOfBandTokenResolver
SecurityTokenResolver

一个 SecurityTokenResolver,它确定是哪个安全令牌创建了数字签名。

返回

一个 SamlConditions,它指定评估 SAML 断言有效性时必须考虑的条件集。

例外

readernull

注解

LoadConditions 方法读取 <saml:Conditions> 元素的内容。

适用于

另请参阅