WSSecurityTokenSerializer.TryCreateKeyIdentifierClauseFromTokenXml Method

Definition

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

C#
public virtual bool TryCreateKeyIdentifierClauseFromTokenXml(System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle, out System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);

Parameters

element
XmlElement

The security token.

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

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1