Saml2Serializer.ReadNameIdentifier(XmlDictionaryReader, 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.
Deserializes the SAML SubjectId.
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier ReadNameIdentifier (System.Xml.XmlDictionaryReader reader, string parentElement);
abstract member ReadNameIdentifier : System.Xml.XmlDictionaryReader * string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
override this.ReadNameIdentifier : System.Xml.XmlDictionaryReader * string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
Protected Overridable Function ReadNameIdentifier (reader As XmlDictionaryReader, parentElement As String) As Saml2NameIdentifier
Parameters
- reader
- XmlDictionaryReader
XmlReader positioned at "NameID, EncryptedID, BaseID".
- parentElement
- String
the element name of the parent element. Used in exception string.
Returns
A Saml2NameIdentifier instance.
Exceptions
if reader is pointing at an unknown Element.