var ESPAuthentification=function() {
ESPAuthentification.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ESPAuthentification.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ESPAuthentification._staticInstance.get_path();},
AuthentificateUser:function(email,password,remember,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AuthentificateUser',false,{email:email,password:password,remember:remember},succeededCallback,failedCallback,userContext); },
LogOut:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogOut',false,{},succeededCallback,failedCallback,userContext); }}
ESPAuthentification.registerClass('ESPAuthentification',Sys.Net.WebServiceProxy);
ESPAuthentification._staticInstance = new ESPAuthentification();
ESPAuthentification.set_path = function(value) { ESPAuthentification._staticInstance.set_path(value); }
ESPAuthentification.get_path = function() { return ESPAuthentification._staticInstance.get_path(); }
ESPAuthentification.set_timeout = function(value) { ESPAuthentification._staticInstance.set_timeout(value); }
ESPAuthentification.get_timeout = function() { return ESPAuthentification._staticInstance.get_timeout(); }
ESPAuthentification.set_defaultUserContext = function(value) { ESPAuthentification._staticInstance.set_defaultUserContext(value); }
ESPAuthentification.get_defaultUserContext = function() { return ESPAuthentification._staticInstance.get_defaultUserContext(); }
ESPAuthentification.set_defaultSucceededCallback = function(value) { ESPAuthentification._staticInstance.set_defaultSucceededCallback(value); }
ESPAuthentification.get_defaultSucceededCallback = function() { return ESPAuthentification._staticInstance.get_defaultSucceededCallback(); }
ESPAuthentification.set_defaultFailedCallback = function(value) { ESPAuthentification._staticInstance.set_defaultFailedCallback(value); }
ESPAuthentification.get_defaultFailedCallback = function() { return ESPAuthentification._staticInstance.get_defaultFailedCallback(); }
ESPAuthentification.set_path("/ESP/Inscription/ESPAuthentification.asmx");
ESPAuthentification.AuthentificateUser= function(email,password,remember,onSuccess,onFailed,userContext) {ESPAuthentification._staticInstance.AuthentificateUser(email,password,remember,onSuccess,onFailed,userContext); }
ESPAuthentification.LogOut= function(onSuccess,onFailed,userContext) {ESPAuthentification._staticInstance.LogOut(onSuccess,onFailed,userContext); }

