ProxyWrapper.HttpLogin

Allows specifying a username and password for HTTP logins.

Note that this is only for HTTP based authentication, not for service based/protocol logins handled through the service or SOAP Headers. Those need to be handled as part of the service proxy itself.

public void HttpLogin(string username,
	string password,
	bool preAuthenticate);

Parameters

string username
Username for HTTP based authentication.

Can also be "Windows" in which case the current Windows Logon is used.

string password
Password for HTTP based authentication.

If username is "Windows" this parameter is ignored.

bool preAuthenticate
If true will cache Authentication information for subsequent requests. Saves additional 401 requests for re-authentication each time. Use if service supports cached credentials.


See also:

Class ProxyWrapper

© West Wind Technologies, 2004-2020 • Updated: 02/28/11
Comment or report problem with topic