Saml2SecurityTokenHandler.ReadAuthenticationStatement Method (XmlReader)

.NET Framework (current version)
 

Reads the <saml:AuthnStatement> element or a <saml:Statement> element that specifies an xsi:type of saml:AuthnStatementType.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual Saml2AuthenticationStatement ReadAuthenticationStatement(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader positioned at the element to read.

Return Value

Type: System.IdentityModel.Tokens.Saml2AuthenticationStatement

A Saml2AuthenticationStatement that represents the element that is read.

Exception Condition
ArgumentNullException

reader is null.

.NET Framework
Available since 4.5
Return to top
Show: