Saml2SecurityTokenHandler.ReadSubjectId(XmlReader, String) 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.
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
- parentElement
- String
The parent element that contains this Subject ID.
Returns
A Saml2NameIdentifier constructed from the XML.
Exceptions
reader
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.