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.

struct Sustainsys.​Saml2.​Saml2P.​ISaml2Message

Assembly: Sustainsys.Saml2

Common properties of all Saml2 message implementations (both requests and responses). There is no corresponding definition in the SAML2 standard, so this is made up of the common fields of 3.2.2 Complex Type StatusResponseType (the base type for all responses) and of 3.2.1 Complex Type RequestAbstractType.

Properties

public System.​Uri
DestinationUrl
The destination of the message.
public string
MessageName
The name of the message to use in a query string or form input field. Typically "SAMLRequest" or "SAMLResponse".
public string
RelayState
RelayState attached to the message.
Remarks Strictly speaking, this is not part of the message, but it is delivered together with the message so we need to keep track of it together with a message.
Certificate used to sign the message with during binding, according to the signature processing rules of each binding.
public string
SigningAlgorithm
The signing algorithm to use when signing the message during binding, according to the signature processing rules of each binding.
Issuer
Issuer of the message.

Methods

public string
ToXml​()
Returns string containing the Xml data.
Serializes the message into wellformed Xml.
ToXElement​()
Returns XElement with Xml representation of the message
Transforms the message to an XElement object tree.