Redigera

Dela via


Saml2SecurityTokenHandler.ReadSubject(XmlReader) Method

Definition

Reads the <saml:Subject> element.

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

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2Subject that represents the Subject element that was read.

Exceptions

reader is null.

Remarks

The default implementation does not handle the optional <EncryptedID> element. To handle encrypted IDs in the Subject, override this method.

Applies to