Table of Contents

Class HttpPostForm

Namespace
ComponentSpace.Saml2.Bindings.Post
Assembly
ComponentSpace.Saml2.dll

Creates the HTML form that's used with the HTTP Post binding to send a SAML message.

public class HttpPostForm : IHttpPostForm
Inheritance
HttpPostForm
Implements
Inherited Members

Constructors

HttpPostForm(IOptionsMonitor<HttpPostFormOptions>)

Initializes a new instance of the HttpPostForm class.

public HttpPostForm(IOptionsMonitor<HttpPostFormOptions> httpPostFormOptions)

Parameters

httpPostFormOptions IOptionsMonitor<HttpPostFormOptions>

The HTTP Post form options.

Methods

Create(string, string, string, string, string)

Creates the HTTP Post form content used to send the SAML message.

public virtual HttpPostFormContent Create(string url, string messageFormVariableName, string messageFormVariableValue, string relayStateFormVariableName, string relayStateFormVariableValue)

Parameters

url string

The URL to receive the SAML message.

messageFormVariableName string

The SAML message form variable name.

messageFormVariableValue string

The SAML message form variable value.

relayStateFormVariableName string

The relay state form variable name or null if none.

relayStateFormVariableValue string

The relay state form variable value or null if none.

Returns

HttpPostFormContent

The HTTP Post form content.