Bewerken

Delen via


Saml2SecurityTokenHandler.ReadNameId(XmlReader) Method

Definition

Reads the <saml:NameID> element.

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

Parameters

reader
XmlReader

An XmlReader positioned at a NameID element.

Returns

A Saml2NameIdentifier that represents the NameID element that was read.

Exceptions

reader is null.

Applies to