WSSecurityTokenSerializer.CreateKeyIdentifierClauseFromTokenXml 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.
Creates a key identifier clause from a token expressed as 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
Parameters
- element
- XmlElement
The security token.
- tokenReferenceStyle
- SecurityTokenReferenceStyle
Returns
The created security key identifier.
Exceptions
An error occurred when deserializing the key identifier clause or the key identifier clause could not be read.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.