Share via


SamlSerializer.ReadAssertion(XmlReader) Method

Definition

Reads a <saml:Assertion> element.

public virtual Microsoft.IdentityModel.Tokens.Saml.SamlAssertion ReadAssertion (System.Xml.XmlReader reader);
abstract member ReadAssertion : System.Xml.XmlReader -> Microsoft.IdentityModel.Tokens.Saml.SamlAssertion
override this.ReadAssertion : System.Xml.XmlReader -> Microsoft.IdentityModel.Tokens.Saml.SamlAssertion
Public Overridable Function ReadAssertion (reader As XmlReader) As SamlAssertion

Parameters

reader
XmlReader

A XmlReader positioned at a 'saml:assertion' element.

Returns

A SamlAssertion instance.

Exceptions

If reader is null.

Applies to