Saml2Serializer.ReadSubject(XmlDictionaryReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.