Saml2SecurityTokenHandler.ReadNameIdType(XmlReader) Method

Definition

Both <Issuer> and <NameID> are of NameIDType. This method reads the content of either one of those elements.

protected:
 virtual System::IdentityModel::Tokens::Saml2NameIdentifier ^ ReadNameIdType(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.Saml2NameIdentifier ReadNameIdType (System.Xml.XmlReader reader);
abstract member ReadNameIdType : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2NameIdentifier
override this.ReadNameIdType : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2NameIdentifier
Protected Overridable Function ReadNameIdType (reader As XmlReader) As Saml2NameIdentifier

Parameters

reader
XmlReader

An XmlReader positioned at NameID type.

Returns

A Saml2NameIdentifier constructed from the XML.

Exceptions

reader is null.

Applies to