Type.registerNamespace('FAF.BWKLive.miniMAX.Web');
FAF.BWKLive.miniMAX.Web.AuthenticationService=function() {
FAF.BWKLive.miniMAX.Web.AuthenticationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FAF.BWKLive.miniMAX.Web.AuthenticationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_path();},
ValidateUser:function(username,password,rememberMe,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="rememberMe" type="Boolean">System.Boolean</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(), 'ValidateUser',false,{username:username,password:password,rememberMe:rememberMe},succeededCallback,failedCallback,userContext); },
Logout:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'Logout',false,{},succeededCallback,failedCallback,userContext); }}
FAF.BWKLive.miniMAX.Web.AuthenticationService.registerClass('FAF.BWKLive.miniMAX.Web.AuthenticationService',Sys.Net.WebServiceProxy);
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance = new FAF.BWKLive.miniMAX.Web.AuthenticationService();
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_path = function(value) {
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.set_path(value); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_path();}
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_timeout = function(value) {
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.set_timeout(value); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_timeout(); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_defaultUserContext = function(value) { 
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.set_defaultUserContext(value); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_defaultUserContext(); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_defaultSucceededCallback = function(value) { 
 FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.set_defaultSucceededCallback(value); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_defaultSucceededCallback(); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_defaultFailedCallback = function(value) { 
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.set_defaultFailedCallback(value); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.get_defaultFailedCallback(); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.set_path("/miniMAX/WebServices/AuthenticationService.asmx");
FAF.BWKLive.miniMAX.Web.AuthenticationService.ValidateUser= function(username,password,rememberMe,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="rememberMe" type="Boolean">System.Boolean</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>
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.ValidateUser(username,password,rememberMe,onSuccess,onFailed,userContext); }
FAF.BWKLive.miniMAX.Web.AuthenticationService.Logout= function(onSuccess,onFailed,userContext) {
/// <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>
FAF.BWKLive.miniMAX.Web.AuthenticationService._staticInstance.Logout(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('FAF.BWKLive.Infrastructure.Security');
if (typeof(FAF.BWKLive.Infrastructure.Security.FAFMembershipUser) === 'undefined') {
FAF.BWKLive.Infrastructure.Security.FAFMembershipUser=gtc("FAF.BWKLive.Infrastructure.Security.FAFMembershipUser");
FAF.BWKLive.Infrastructure.Security.FAFMembershipUser.registerClass('FAF.BWKLive.Infrastructure.Security.FAFMembershipUser');
}

