Type.registerNamespace('Kryptiq.CC.UI.WebServices');
Kryptiq.CC.UI.WebServices.Authentication=function() {
Kryptiq.CC.UI.WebServices.Authentication.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Kryptiq.CC.UI.WebServices.Authentication.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_path();},
RenewPortalAuthCookie: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(), 'RenewPortalAuthCookie',false,{},succeededCallback,failedCallback,userContext); },
RenewISPAdminAuthCookie: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(), 'RenewISPAdminAuthCookie',false,{},succeededCallback,failedCallback,userContext); }}
Kryptiq.CC.UI.WebServices.Authentication.registerClass('Kryptiq.CC.UI.WebServices.Authentication',Sys.Net.WebServiceProxy);
Kryptiq.CC.UI.WebServices.Authentication._staticInstance = new Kryptiq.CC.UI.WebServices.Authentication();
Kryptiq.CC.UI.WebServices.Authentication.set_path = function(value) {
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.set_path(value); }
Kryptiq.CC.UI.WebServices.Authentication.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_path();}
Kryptiq.CC.UI.WebServices.Authentication.set_timeout = function(value) {
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.set_timeout(value); }
Kryptiq.CC.UI.WebServices.Authentication.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_timeout(); }
Kryptiq.CC.UI.WebServices.Authentication.set_defaultUserContext = function(value) { 
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.set_defaultUserContext(value); }
Kryptiq.CC.UI.WebServices.Authentication.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_defaultUserContext(); }
Kryptiq.CC.UI.WebServices.Authentication.set_defaultSucceededCallback = function(value) { 
 Kryptiq.CC.UI.WebServices.Authentication._staticInstance.set_defaultSucceededCallback(value); }
Kryptiq.CC.UI.WebServices.Authentication.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_defaultSucceededCallback(); }
Kryptiq.CC.UI.WebServices.Authentication.set_defaultFailedCallback = function(value) { 
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.set_defaultFailedCallback(value); }
Kryptiq.CC.UI.WebServices.Authentication.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Kryptiq.CC.UI.WebServices.Authentication._staticInstance.get_defaultFailedCallback(); }
Kryptiq.CC.UI.WebServices.Authentication.set_path("/portal/WebServices/Authentication.asmx");
Kryptiq.CC.UI.WebServices.Authentication.RenewPortalAuthCookie= 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>
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.RenewPortalAuthCookie(onSuccess,onFailed,userContext); }
Kryptiq.CC.UI.WebServices.Authentication.RenewISPAdminAuthCookie= 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>
Kryptiq.CC.UI.WebServices.Authentication._staticInstance.RenewISPAdminAuthCookie(onSuccess,onFailed,userContext); }
