Saml2Serializer.ReadAssertion(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A Saml2Assertion instance.
Exceptions
If reader
is null.
If assertion is encrypted.
If no statements are found.