if(typeof AjaxPro == "undefined") AjaxPro={};
if(typeof AjaxPro.Services == "undefined") AjaxPro.Services={};
if(typeof AjaxPro.Services.Authentication == "undefined") AjaxPro.Services.Authentication={};
AjaxPro.Services.Authentication_class = function() {};
Object.extend(AjaxPro.Services.Authentication_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Login: function(username, password) {
		return this.invoke("Login", {"username":username, "password":password}, this.Login.getArguments().slice(2));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	ValidateUser: function(username, password) {
		return this.invoke("ValidateUser", {"username":username, "password":password}, this.ValidateUser.getArguments().slice(2));
	},
	url: '/ajaxpro/AjaxPro.Services.AuthenticationService,AjaxPro.2.ashx'
}));
AjaxPro.Services.Authentication = new AjaxPro.Services.Authentication_class();

