Show / Hide Table of Contents

Class URIBinding

Supports the URI binding.

Inheritance
System.Object
URIBinding
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.Bindings
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class URIBinding
Remarks

Refer to the Bindings for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Methods

ReceiveID(HttpRequestBase)

Receives the identifier.

Declaration
public static string ReceiveID(HttpRequestBase httpRequest)
Parameters
Type Name Description
System.Web.HttpRequestBase httpRequest

The HTTP request containing the identifier.

Returns
Type Description
System.String

The identifier.

Exceptions
Type Condition
SAMLBindingException

Thrown when the receive fails.

SendIDReceiveResponse(String, String)

Sends the identifier and receives the SAML response.

Declaration
public static XmlElement SendIDReceiveResponse(string destinationURL, string id)
Parameters
Type Name Description
System.String destinationURL

The destination URL.

System.String id

The identifier.

Returns
Type Description
System.Xml.XmlElement

The SAML response.

Exceptions
Type Condition
SAMLBindingException

Thrown when the send fails.

SendResponse(HttpResponseBase, XmlElement)

Sends the SAML response.

Declaration
public static void SendResponse(HttpResponseBase httpResponse, XmlElement samlMessage)
Parameters
Type Name Description
System.Web.HttpResponseBase httpResponse

The HTTP response that will return the SAML response.

System.Xml.XmlElement samlMessage

The SAML response.

Exceptions
Type Condition
SAMLBindingException

Thrown when the send fails.

See Also

SAMLIdentifiers.BindingURIs
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.