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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.