Share via


Saml2Serializer.ReadNameId(XmlDictionaryReader) Method

Definition

Reads the <saml:NameID> element.

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2NameIdentifier element.

Returns

An instance of Saml2NameIdentifier

Exceptions

The input parameter 'reader' is null.

Applies to