public void TestSetup() { //WebService = new WebserviceAccessor("https://localhost/administrator/components/com_jtracelab/webservice/webservice.php", true); //WebService = new WebserviceAccessor("http://coest.org/testcontests/administrator/components/com_jtracelab/webservice/webservice.php", true); WebService = new WebserviceAccessor("http://coest.org/testjoomla/administrator/components/com_jtracelab/webservice/WebService.php", true); ValidCredentials = new Credentials() { Username = "******", Password = "******" }; }
public void TestSetup() { WebService = new WebserviceAccessor("test://webservice.php", true); ValidCredentials = new Credentials() { Username = "******", Password = "******" }; }
/// <summary> /// Authenticates the specified credentials. /// </summary> /// <param name="credentials">The credentials.</param> /// <param name="callback">The callback.</param> /// <exception cref="System.UriFormatException">throws when webservice url is malformed</exception> /// <exception cref="System.ArgumentNullException">throws when webservice url is null</exception> public void Authenticate(Credentials credentials, Callback<AuthenticationResponse> callback) { WebService.Authenticate(credentials, callback); }