WSSecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver) WSSecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver) WSSecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver) WSSecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver) Method

Definition

Reads the token core using the specified XmlReader.

protected:
 override System::IdentityModel::Tokens::SecurityToken ^ ReadTokenCore(System::Xml::XmlReader ^ reader, System::IdentityModel::Selectors::SecurityTokenResolver ^ tokenResolver);
protected override System.IdentityModel.Tokens.SecurityToken ReadTokenCore (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenResolver tokenResolver);
override this.ReadTokenCore : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function ReadTokenCore (reader As XmlReader, tokenResolver As SecurityTokenResolver) As SecurityToken

Parameters

reader
XmlReader XmlReader XmlReader XmlReader

The specified XmlReader.

Returns

The security token that was read.

Exceptions

An error occurred when deserializing the token or the token could not be read.

Applies to