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.​Saml2RequestBase

Assembly: Sustainsys.Saml2

Inheritance: object → Saml2RequestBase

Base class for saml requests, corresponds to section 3.2.1 in SAML Core specification.

Properties

public string
Version
Version of the SAML request. Always returns "2.0"
public string
IssueInstant
The instant that the request was issued (well actually, created).
public string
MessageName
SAML message name for requests - hard coded to SAMLRequest.
public System.​Uri
DestinationUrl
The destination of the request.
Issuer
The issuer of the request.
The additional content to append within an Extensions element.
protected string
LocalName
The SAML2 request name
public string
RelayState
RelayState attached to the 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.

Methods

ToXElement​()
Returns XElement with Xml representation of the message
Transforms the message to an XElement object tree.
Creates XNodes for the fields of the Saml2RequestBase class. These nodes should be added when creating XML out of derived classes.
protected void
ReadBaseProperties​(System.Xml.XmlElement xml)
xml The xml document to parse
Reads the request properties present in Saml2RequestBase Also validates basic properties of the request
public string
ToXml​()
Returns string containing the Xml data.
Serializes the message into wellformed Xml.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object