Saml2SecurityTokenHandler.ReadStatement(XmlReader) Metodo

Definizione

Legge l'elemento <saml:Statement>.

protected virtual System.IdentityModel.Tokens.Saml2Statement ReadStatement (System.Xml.XmlReader reader);

Parametri

reader
XmlReader

Un XmlReader posizionato presso l'elemento da leggere.

Restituisce

Saml2Statement che rappresenta l'elemento Statement letto.

Eccezioni

reader è null.

Commenti

L'implementazione predefinita gestisce solo gli elementi Statement che specificano un tipo xsi:saml:AttributeStatementType, saml:AuthnStatementType e saml:AuthzDecisionStatementType. Per gestire istruzioni personalizzate, eseguire l'override di questo metodo.

Si applica a

Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1