Class HttpPostFormOptions
The options for the HttpPostForm
.
Inheritance
Inherited Members
Namespace: ComponentSpace.Saml2.Bindings.Post
Assembly: ComponentSpace.Saml2.dll
Syntax
public class HttpPostFormOptions
Properties
ContentSecurityPolicy
Gets or sets the Content Security Policy option.
Declaration
public HttpPostFormOptions.ContentSecurityPolicyOption ContentSecurityPolicy { get; set; }
Property Value
Type | Description |
---|---|
HttpPostFormOptions.ContentSecurityPolicyOption | The Content Security Policy option. |
DisplayMessage
Gets or sets the optional HTML displayed in the browser while the HTML form is being posted.
Declaration
public string DisplayMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The optional HTML displayed in the browser while the HTML form is being posted. |
FormTemplate
Gets or sets the HTML form template.
It includes the {displayMessage}, {url}, {target}, {hiddenFormVariables} and {javaScript} substitution parameters.
The optional {displayMessage} is displayed in the browser while the HTML form is being posted.
The {url} is the action URL for the HTTP Post.
The {target} is the target for the HTTP Post (ie _self, _blank, _parent or _top).
The {hiddenFormVariables} are the hidden form inputs containing the information to be posted.
The {javaScript} is the JavaScript used to automatically submit the HTML form.
Declaration
public string FormTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HTML form template. |
HiddenFormVariableTemplate
Gets or sets the HTML hidden form variable template.
It includes the {name} and {value} substitution parameters.
Declaration
public string HiddenFormVariableTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HTML hidden form variable template. |
JavaScript
Gets or sets the JavaScript used to automatically submit the HTML form.
Declaration
public string JavaScript { get; set; }
Property Value
Type | Description |
---|---|
System.String | The JavaScript used to automatically submit the HTML form. |
OtherFormVariables
Gets or sets the optional delegate called to return the optional non-SAML HTML hidden form variables to include in the HTML form.
Declaration
public Func<IDictionary<string, string>> OtherFormVariables { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Collections.Generic.IDictionary<System.String, System.String>> | The delegate called to return the optional non-SAML HTML hidden form variables to include in the HTML form. |
Target
Gets or sets the HTML form target.
Declaration
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HTML form target. |
Remarks
The target may be: _self, _blank, _parent or _top. The default is _self.