Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Sustainsys.​Saml2.​Saml2P.​Saml2SoapBinding
Assembly: Sustainsys.Saml2
Inheritance: object → Saml2SoapBinding
Saml2 Soap binding implementation.
Remarks
This class does not follow the pattern of the other three bindings
(Redirect, POST and Artifact) because it does not use the front channel
with messages being passed over the user's browser.
Methods
public static
string
CreateSoapBody​(string payload)
Create a SOAP body around a specified payload.
payload
Payload of the message.
public static
System.​Xml.​XmlElement
ExtractBody​(string xml)
Extract the body of a SOAP message.
Returns Parsed data.
xml
xml data
public static
System.​Xml.​XmlElement
SendSoapRequest​(string payload,
System.​Uri destination)
Send a SOAP request to the specified endpoint and return the result.
Returns Response.
payload
Message payload
destination
Destination endpoint
public static
System.​Xml.​XmlElement
SendSoapRequest​(string payload,
System.​Uri destination,
System.​Collections.​Generic.​IEnumerable<​System.​Security.​Cryptography.​X509Certificates.​X509Certificate2> clientCertificates)
Send a SOAP request to the specified endpoint and return the result.
Returns Response.
payload
Message payload
destination
Destination endpoint
clientCertificates
Client certificates to offer to the server.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object