Пример #1
0
		bool HandlePreAuthentication (Uri uri, CFHTTPMessage message)
		{
			var method = auth.GetMethod ();
			var credential = Credentials.GetCredential (uri, method);
			if (credential == null)
				return false;

			message.ApplyCredentials (auth, credential);
			return true;
		}