Compartir vía


SamlAuthorityBinding.ReadXml Método

Definición

Lee el elemento <AuthorityBinding> 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 <AuthorityBinding>.

samlSerializer
SamlSerializer

SamlSerializer que es capaz de leer elementos XML de la aserción de SAML definidos 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

reader no hace referencia a una aserción SAML.

o bien

El elemento <AuthorityBinding> no tiene uno de los atributos AuthorityKind, Locationo Binding.

Se aplica a