Redigera

Dela via


Saml2SecurityTokenHandler.ReadSubjectId(XmlReader, String) Method

Definition

This method handles the construct used in the <Subject> and <SubjectConfirmation> elements for ID.

protected:
 virtual System::IdentityModel::Tokens::Saml2NameIdentifier ^ ReadSubjectId(System::Xml::XmlReader ^ reader, System::String ^ parentElement);
protected virtual System.IdentityModel.Tokens.Saml2NameIdentifier ReadSubjectId (System.Xml.XmlReader reader, string parentElement);
abstract member ReadSubjectId : System.Xml.XmlReader * string -> System.IdentityModel.Tokens.Saml2NameIdentifier
override this.ReadSubjectId : System.Xml.XmlReader * string -> System.IdentityModel.Tokens.Saml2NameIdentifier
Protected Overridable Function ReadSubjectId (reader As XmlReader, parentElement As String) As Saml2NameIdentifier

Parameters

reader
XmlReader

An XmlReader positioned at the Subject ID XML.

parentElement
String

The parent element that contains this Subject ID.

Returns

A Saml2NameIdentifier constructed from the XML.

Exceptions

reader is null.

Applies to