SamlConditions.ReadXml Método

Definição

Lê o elemento <saml:Conditions> do leitor 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

Um XmlDictionaryReader para ler o elemento <saml:Conditions>.

samlSerializer
SamlSerializer

Um SamlSerializer que é capaz de ler elementos XML na instrução de autorização de SAML definida na especificação de SAML.

keyInfoSerializer
SecurityTokenSerializer

Um SecurityTokenSerializer que lê a cláusula KeyInfo da assinatura digital.

outOfBandTokenResolver
SecurityTokenResolver

Um SecurityTokenResolver que determina o token de segurança que criou a assinatura digital.

Exceções

reader é null

- ou -

samlSerializer é null.

Comentários

O ReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver) método define as seguintes propriedades:

Aplica-se a