Rediger

Del via


RsaSecurityTokenHandler.ReadToken(XmlReader) Method

Definition

Deserializes an RSA security token from XML.

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

An XML reader positioned at the start element of the token.

Returns

The RSA security token that was deserialized from the XML.

Exceptions

reader is null.

reader is not positioned at an RSA token.

Applies to