SecurityTokenElement.ReadSecurityToken Método

Definição

Desserializa um SecurityToken da representação XML especificada.

protected:
 virtual System::IdentityModel::Tokens::SecurityToken ^ ReadSecurityToken(System::Xml::XmlElement ^ securityTokenXml, System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ securityTokenHandlers);
protected virtual System.IdentityModel.Tokens.SecurityToken ReadSecurityToken (System.Xml.XmlElement securityTokenXml, System.IdentityModel.Tokens.SecurityTokenHandlerCollection securityTokenHandlers);
abstract member ReadSecurityToken : System.Xml.XmlElement * System.IdentityModel.Tokens.SecurityTokenHandlerCollection -> System.IdentityModel.Tokens.SecurityToken
override this.ReadSecurityToken : System.Xml.XmlElement * System.IdentityModel.Tokens.SecurityTokenHandlerCollection -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function ReadSecurityToken (securityTokenXml As XmlElement, securityTokenHandlers As SecurityTokenHandlerCollection) As SecurityToken

Parâmetros

securityTokenXml
XmlElement

A representação XML do token de segurança.

securityTokenHandlers
SecurityTokenHandlerCollection

A coleção de manipuladores de token a ser usada para ler o token.

Retornos

O token de segurança que foi desserializado do XML.

Aplica-se a