Form authentication settings to use to connect to a web site.
C#
public struct FormAuthenticationInfo {
public String FormAuthenticationUrl;
public String FormAuthenticationData;
public bool AuthenticateViaPost;
public bool HaveData;
}
Members
Members |
Description |
---|---|
FormAuthenticationUrl |
URL to send the authentication data to |
FormAuthenticationData |
Authentication data to send to the server |
AuthenticateViaPost |
If true, authentication data will be sent using an HTTP POST request instead of a GET request |
HaveData |
If HaveData is not true, all values in FormAuthenticationInfo will be ignored when connecting to the web site |
Remarks
Form authentication is done using a POST or GET HTTP request, consisting of one or more names values in FormAuthenticationData, which must be formatted as a valid POST or GET request, like this: field=value&field2=value2
See Also