WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) Method

Definition

Attempts to create a key identifier clause from a token expressed as XML.

public:
 virtual bool TryCreateKeyIdentifierClauseFromTokenXml(System::Xml::XmlElement ^ element, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle tokenReferenceStyle, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ % securityKeyIdentifierClause);
public virtual bool TryCreateKeyIdentifierClauseFromTokenXml (System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle, out System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);
abstract member TryCreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle *  -> bool
override this.TryCreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle *  -> bool
Public Overridable Function TryCreateKeyIdentifierClauseFromTokenXml (element As XmlElement, tokenReferenceStyle As SecurityTokenReferenceStyle, ByRef securityKeyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parameters

element
XmlElement XmlElement XmlElement XmlElement

The security token.

securityKeyIdentifierClause
SecurityKeyIdentifierClause SecurityKeyIdentifierClause SecurityKeyIdentifierClause SecurityKeyIdentifierClause

A sub-unit of an element that contains a security key identifier token.

Returns

true if the key identifier clause was created; otherwise, false.

Applies to