SamlSecurityTokenHandler.ReadToken Method (XmlReader)

.NET Framework (current version)
 

Reads a SAML 1.1 token from the specified stream.

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

public override SecurityToken ReadToken(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

A XmlReader stream to a SAML 1.1 Security Token.

Exception Condition
InvalidOperationException

The Configuration property is null.

-or-

The IssuerTokenResolver property of the configuration specified by the Configuration property is null.

-or-

The ServiceTokenResolver property of the configuration specified by the Configuration property is null.

.NET Framework
Available since 4.5
Return to top
Show: