/** * Log the user out. * @param callback The callback to call when the operation is complete. */ @Override public void logout(final UserCallback callback) { //Remove the rpc token when logging out. xsrfRequestBuilder.setXsrfToken(null); ActionReturnValue retVal = new ActionReturnValue(); retVal.setSucceeded(true); callback.onSuccess(retVal); } }