Class HttpPostForm
Creates the HTML form that's used with the HTTP Post binding to send a SAML message.
Inheritance
System.Object
HttpPostForm
Implements
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 |
System.String | relayStateFormVariableValue | The relay state form variable value or |
Returns
Type | Description |
---|---|
HttpPostFormContent | The HTTP Post form content. |