WSSecurityTokenSerializer.ReadTokenCore(XmlReader, SecurityTokenResolver) Método

Definición

Lee el núcleo del token mediante el XmlReaderespecificado.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

Parámetros

reader
XmlReader

XmlReader especificado.The specified XmlReader.

tokenResolver
SecurityTokenResolver

Resolución del token de seguridad.The security token resolver.

Devoluciones

SecurityToken

El token de seguridad que se ha leído.The security token that was read.

Excepciones

Se produjo un error al deserializar el token o no se pudo leer el token.An error occurred when deserializing the token or the token could not be read.

Se aplica a