Class NameIDType
- Namespace
- ComponentSpace.Saml2.Assertions
- Assembly
- ComponentSpace.Saml2.dll
Represents the name identifier type.
public abstract class NameIDType
- Inheritance
-
NameIDType
- Derived
- Inherited Members
Remarks
Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
NameIDType()
Initializes a new instance of the NameIDType class.
public NameIDType()
NameIDType(XmlElement)
Initializes a new instance of the NameIDType class from XML.
public NameIDType(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe name identifier XML.
Exceptions
- SamlSerializationException
Thrown when the XML deserialization fails.
Properties
Format
Gets or sets the format.
public string Format { get; set; }
Property Value
- string
The format.
- See Also
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
- string
The name.
NameQualifier
Gets or sets the name qualifier.
public string NameQualifier { get; set; }
Property Value
- string
The name qualifier.
SPNameQualifier
Gets or sets the SP name qualifier.
public string SPNameQualifier { get; set; }
Property Value
- string
The SP name qualifier.
SpProvidedID
Gets or sets the SP provided ID.
public string SpProvidedID { get; set; }
Property Value
- string
The SP provided ID.
Methods
ToXml(XmlElement)
Serializes the name identifier to XML.
public void ToXml(XmlElement xmlElement)
Parameters
xmlElementXmlElementThe owning XML element.
Exceptions
- SamlSerializationException
Thrown when the XML serialization fails.