Επεξεργασία

Κοινή χρήση μέσω


SecurityTokenElement.ReadSecurityToken Method

Definition

Deserializes a SecurityToken from the specified XML representation.

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

Parameters

securityTokenXml
XmlElement

The XML representation of the security token.

securityTokenHandlers
SecurityTokenHandlerCollection

The token handler collection to use to read the token.

Returns

The security token that was deserialized from the XML.

Applies to