Share via


Saml2Serializer.ReadSubject(XmlDictionaryReader) Method

Definition

Reads the <saml:Subject> element.

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2Subject element.

Returns

An instance of Saml2Subject .

Remarks

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

Applies to