WSSecurityTokenSerializer.CreateKeyIdentifierClauseFromTokenXml Metoda

Definice

Vytvoří klauzuli identifikátoru klíče z tokenu vyjádřeného jako XML.

public:
 virtual System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ CreateKeyIdentifierClauseFromTokenXml(System::Xml::XmlElement ^ element, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle tokenReferenceStyle);
public virtual System.IdentityModel.Tokens.SecurityKeyIdentifierClause CreateKeyIdentifierClauseFromTokenXml (System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle);
abstract member CreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
override this.CreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Public Overridable Function CreateKeyIdentifierClauseFromTokenXml (element As XmlElement, tokenReferenceStyle As SecurityTokenReferenceStyle) As SecurityKeyIdentifierClause

Parametry

element
XmlElement

Token zabezpečení.

Návraty

SecurityKeyIdentifierClause

Identifikátor vytvořeného klíče zabezpečení.

Výjimky

Při deserializaci klauzule identifikátoru klíče nebo klauzule identifikátoru klíče nebyla načtena.

Platí pro