SamlSecurityTokenHandler.ReadToken(XmlReader) Method

Definition

Reads a SAML 1.1 token from the specified stream.

C#
public override System.IdentityModel.Tokens.SecurityToken ReadToken(System.Xml.XmlReader reader);

Parameters

reader
XmlReader

A XmlReader stream to a SAML 1.1 Security Token.

Returns

An instance of SamlSecurityToken.

Exceptions

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.

Applies to

Produkt Versiounen
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1