Show / Hide Table of Contents

Class HttpPostForm

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

Inheritance
System.Object
HttpPostForm
Implements
IHttpPostForm
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Bindings.Post
Assembly: ComponentSpace.Saml2.dll
Syntax
public class HttpPostForm : IHttpPostForm

Constructors

HttpPostForm(IOptionsMonitor<HttpPostFormOptions>)

Initializes a new instance of the HttpPostForm class.

Declaration
public HttpPostForm(IOptionsMonitor<HttpPostFormOptions> httpPostFormOptions)
Parameters
Type Name Description
Microsoft.Extensions.Options.IOptionsMonitor<HttpPostFormOptions> 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.

Declaration
public virtual HttpPostFormContent Create(string url, string messageFormVariableName, string messageFormVariableValue, string relayStateFormVariableName, string relayStateFormVariableValue)
Parameters
Type Name Description
System.String url

The URL to receive the SAML message.

System.String messageFormVariableName

The SAML message form variable name.

System.String messageFormVariableValue

The SAML message form variable value.

System.String relayStateFormVariableName

The relay state form variable name or null if none.

System.String relayStateFormVariableValue

The relay state form variable value or null if none.

Returns
Type Description
HttpPostFormContent

The HTTP Post form content.

Implements

IHttpPostForm
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.