This project is read-only.

Getting started with TouchStack

Receiving notifications about the request progress

Passing additional state information

About one-way service requests

Handling basic HTTP authentication challenges

Whether you don't want to implement a full-fledged authentication and authorization system, or you want some extra protection, there are times when a basic HTTP authentication system comes in handy. As such, since version 0.3 Beta you can respond to authentication challenges coming from the server by attaching a handler to the BasicHttpAuthPrompt event:

service.BasicHttpAuthPrompt += delegate(object sender, ServiceBasicHttpAuthPromptArgs args) {
	args.Prompt.UserName = "UserName";
	args.Prompt.Password = "Password";

Also, be sure to check out the dedicated example from the latest source code distribution.


Last edited Dec 9, 2011 at 9:43 AM by alexandruboia, version 6


No comments yet.