Compartir a través de


SamlConditions.ReadXml Método

Definición

Lee el elemento <saml:Conditions> del lector de XML especificado.

public:
 virtual void ReadXml(System::Xml::XmlDictionaryReader ^ reader, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ outOfBandTokenResolver);
public virtual void ReadXml (System.Xml.XmlDictionaryReader reader, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer, System.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);
abstract member ReadXml : System.Xml.XmlDictionaryReader * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> unit
override this.ReadXml : System.Xml.XmlDictionaryReader * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> unit
Public Overridable Sub ReadXml (reader As XmlDictionaryReader, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer, outOfBandTokenResolver As SecurityTokenResolver)

Parámetros

reader
XmlDictionaryReader

XmlDictionaryReader para leer el elemento <saml:Conditions>.

samlSerializer
SamlSerializer

SamlSerializer que es capaz de leer los elementos XML de la instrucción de autorización de SAML definida en la especificación de SAML.

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer que lee la cláusula KeyInfo de la firma digital.

outOfBandTokenResolver
SecurityTokenResolver

SecurityTokenResolver que determina el token de seguridad que creó la firma digital.

Excepciones

reader es null

o bien

samlSerializer es null.

Comentarios

El método ReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver) establece las siguientes propiedades:

Se aplica a