Muokkaa

Jaa


WSSecurityTokenSerializer.ReadTokenCore 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

The specified XmlReader.

tokenResolver
SecurityTokenResolver

The security token resolver.

Returns

The security token that was read.

Exceptions

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

Applies to