Szerkesztés

Megosztás a következőn keresztül:


SamlSecurityTokenHandler.ReadToken(XmlReader) Method

Definition

Reads a SAML 1.1 token from the specified stream.

public:
 override System::IdentityModel::Tokens::SecurityToken ^ ReadToken(System::Xml::XmlReader ^ reader);
public override System.IdentityModel.Tokens.SecurityToken ReadToken (System.Xml.XmlReader reader);
override this.ReadToken : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityToken
Public Overrides Function ReadToken (reader As XmlReader) As SecurityToken

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