Share via


Saml2Serializer.ReadAssertion(XmlReader) Method

Definition

Reads a <saml:Assertion> element.

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

Parameters

reader
XmlReader

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

Returns

A Saml2Assertion instance.

Exceptions

If reader is null.

If assertion is encrypted.

If no statements are found.

Applies to