var AuthenticationServices=function() {
AuthenticationServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AuthenticationServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AuthenticationServices._staticInstance.get_path();},
InnerLogon:function(lm,succeededCallback, failedCallback, userContext) {
/// <param name="lm" type="LogonMessage">LogonMessage</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'InnerLogon',false,{lm:lm},succeededCallback,failedCallback,userContext); },
Logon:function(lm,succeededCallback, failedCallback, userContext) {
/// <param name="lm" type="LogonMessage">LogonMessage</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Logon',false,{lm:lm},succeededCallback,failedCallback,userContext); }}
AuthenticationServices.registerClass('AuthenticationServices',Sys.Net.WebServiceProxy);
AuthenticationServices._staticInstance = new AuthenticationServices();
AuthenticationServices.set_path = function(value) {
AuthenticationServices._staticInstance.set_path(value); }
AuthenticationServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AuthenticationServices._staticInstance.get_path();}
AuthenticationServices.set_timeout = function(value) {
AuthenticationServices._staticInstance.set_timeout(value); }
AuthenticationServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AuthenticationServices._staticInstance.get_timeout(); }
AuthenticationServices.set_defaultUserContext = function(value) { 
AuthenticationServices._staticInstance.set_defaultUserContext(value); }
AuthenticationServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AuthenticationServices._staticInstance.get_defaultUserContext(); }
AuthenticationServices.set_defaultSucceededCallback = function(value) { 
 AuthenticationServices._staticInstance.set_defaultSucceededCallback(value); }
AuthenticationServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AuthenticationServices._staticInstance.get_defaultSucceededCallback(); }
AuthenticationServices.set_defaultFailedCallback = function(value) { 
AuthenticationServices._staticInstance.set_defaultFailedCallback(value); }
AuthenticationServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AuthenticationServices._staticInstance.get_defaultFailedCallback(); }
AuthenticationServices.set_path("/AideRegister/Ctrl/AuthenticationServices.asmx");
AuthenticationServices.InnerLogon= function(lm,onSuccess,onFailed,userContext) {
/// <param name="lm" type="LogonMessage">LogonMessage</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AuthenticationServices._staticInstance.InnerLogon(lm,onSuccess,onFailed,userContext); }
AuthenticationServices.Logon= function(lm,onSuccess,onFailed,userContext) {
/// <param name="lm" type="LogonMessage">LogonMessage</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AuthenticationServices._staticInstance.Logon(lm,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LogonMessage) === 'undefined') {
var LogonMessage=gtc("LogonMessage");
LogonMessage.registerClass('LogonMessage');
}
if (typeof(LogonResult) === 'undefined') {
var LogonResult=gtc("LogonResult");
LogonResult.registerClass('LogonResult');
}
