Class HttpPostFormOptions
- Namespace
- ComponentSpace.Saml2.Bindings.Post
- Assembly
- ComponentSpace.Saml2.dll
The options for the HttpPostForm.
public class HttpPostFormOptions
- Inheritance
-
HttpPostFormOptions
- Inherited Members
Properties
ContentSecurityPolicy
Gets or sets the Content Security Policy option.
public HttpPostFormOptions.ContentSecurityPolicyOption ContentSecurityPolicy { get; set; }
Property Value
- 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.
public string DisplayMessage { get; set; }
Property Value
- 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.
public string FormTemplate { get; set; }
Property Value
- string
The HTML form template.
HiddenFormVariableTemplate
Gets or sets the HTML hidden form variable template.
It includes the {name} and {value} substitution parameters.
public string HiddenFormVariableTemplate { get; set; }
Property Value
- string
The HTML hidden form variable template.
JavaScript
Gets or sets the JavaScript used to automatically submit the HTML form.
public string JavaScript { get; set; }
Property Value
- 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.
public Func<IDictionary<string, string>> OtherFormVariables { get; set; }
Property Value
- Func<IDictionary<string, 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.
public string Target { get; set; }
Property Value
- string
The HTML form target.
Remarks
The target may be: _self, _blank, _parent or _top. The default is _self.