Interface IHttpPostForm
- 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 interface IHttpPostForm
Methods
Create(string, string, string, string, string)
Creates the HTTP Post form content used to send the SAML message.
HttpPostFormContent Create(string url, string messageFormVariableName, string messageFormVariableValue, string relayStateFormVariableName = null, string relayStateFormVariableValue = null)
Parameters
urlstringThe URL to receive the SAML message.
messageFormVariableNamestringThe SAML message form variable name.
messageFormVariableValuestringThe SAML message form variable value.
relayStateFormVariableNamestringThe relay state form variable name or
nullif none.relayStateFormVariableValuestringThe relay state form variable value or
nullif none.
Returns
- HttpPostFormContent
The HTTP Post form content.