SecurityTokenElement.ReadSecurityToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.