Type.registerNamespace('NCI.ApartmentFinder.Web.UI.Services');
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService=function() {
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_path();},
LoginFacebookUser:function(firstName,lastName,facebookID,proxyEmailAddress,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoginFacebookUser',false,{firstName:firstName,lastName:lastName,facebookID:facebookID,proxyEmailAddress:proxyEmailAddress},succeededCallback,failedCallback,userContext); },
IsLoggedIn:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsLoggedIn',false,{},succeededCallback,failedCallback,userContext); }}
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.registerClass('NCI.ApartmentFinder.Web.UI.Services.AuthenticationService',Sys.Net.WebServiceProxy);
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance = new NCI.ApartmentFinder.Web.UI.Services.AuthenticationService();
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_path = function(value) { NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.set_path(value); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.get_path = function() { return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_path(); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_timeout = function(value) { NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.set_timeout(value); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.get_timeout = function() { return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_timeout(); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_defaultUserContext = function(value) { NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.set_defaultUserContext(value); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.get_defaultUserContext = function() { return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_defaultUserContext(); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_defaultSucceededCallback = function(value) { NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.set_defaultSucceededCallback(value); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.get_defaultSucceededCallback = function() { return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_defaultSucceededCallback(); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_defaultFailedCallback = function(value) { NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.set_defaultFailedCallback(value); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.get_defaultFailedCallback = function() { return NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.get_defaultFailedCallback(); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.set_path("/Services/AuthenticationService.asmx");
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.LoginFacebookUser= function(firstName,lastName,facebookID,proxyEmailAddress,onSuccess,onFailed,userContext) {NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.LoginFacebookUser(firstName,lastName,facebookID,proxyEmailAddress,onSuccess,onFailed,userContext); }
NCI.ApartmentFinder.Web.UI.Services.AuthenticationService.IsLoggedIn= function(onSuccess,onFailed,userContext) {NCI.ApartmentFinder.Web.UI.Services.AuthenticationService._staticInstance.IsLoggedIn(onSuccess,onFailed,userContext); }
