Saml2Serializer.ReadNameId(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:NameID> element.
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier ReadNameId (System.Xml.XmlDictionaryReader reader);
abstract member ReadNameId : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
override this.ReadNameId : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
Protected Overridable Function ReadNameId (reader As XmlDictionaryReader) As Saml2NameIdentifier
Parameters
- reader
- XmlDictionaryReader
A XmlReader positioned at a Saml2NameIdentifier element.
Returns
An instance of Saml2NameIdentifier
Exceptions
The input parameter 'reader' is null.