1 function Sys$Services$_AuthenticationService$logout(redirectUrl, logoutCompletedCallback, failedCallback, userContext) {
7 var e = Function._validateParams(arguments, [
8 {name: "redirectUrl", type: String, mayBeNull: true, optional: true},
9 {name: "logoutCompletedCallback", type: Function, mayBeNull: true, optional: true},
10 {name: "failedCallback", type: Function, mayBeNull: true, optional: true},
11 {name: "userContext", mayBeNull: true, optional: true}
12 ]);
13 if (e) throw e;
14 this._invoke(this._get_path(), "Logout", false, {},
15 Function.createDelegate(this, this._onLogoutComplete),
16 Function.createDelegate(this, this._onLogoutFailed),
17 [redirectUrl, logoutCompletedCallback, failedCallback, userContext]);
18 }