Class EndpointType
Represents the endpoint type.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Metadata
Assembly: ComponentSpace.Saml2.dll
Syntax
public class EndpointType
Remarks
Refer to the Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Constructors
EndpointType()
Initializes a new instance of the EndpointType
class.
Declaration
public EndpointType()
EndpointType(String, String, String)
Initializes a new instance of the EndpointType
class.
Declaration
public EndpointType(string binding, string location, string responseLocation)
Parameters
Type | Name | Description |
---|---|---|
System.String | binding | The binding. |
System.String | location | The location. |
System.String | responseLocation | The response location. |
EndpointType(XmlElement)
Initializes a new instance of the EndpointType
class from XML.
Declaration
public EndpointType(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The endpoint XML. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML deserialization fails. |
Properties
Binding
Gets or sets the binding.
Declaration
public string Binding { get; set; }
Property Value
Type | Description |
---|---|
System.String | The binding. |
Location
Gets or sets the location.
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String | The location. |
ResponseLocation
Gets or sets the response location.
Declaration
public string ResponseLocation { get; set; }
Property Value
Type | Description |
---|---|
System.String | The response location. |
Methods
ToXml(XmlElement)
Serializes the endpoint to XML.
Declaration
public virtual void ToXml(XmlElement xmlElement)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | The owning XML element. |
Exceptions
Type | Condition |
---|---|
SAMLSerializationException | Thrown when the XML serialization fails. |