// save auth token value to persistent storage
dataStore.storeAuthToken(token,publisher);
// commit this transaction
dataStore.commit();
// create, populate and return an AuthToken object
AuthToken authToken = new AuthToken();
authToken.setGeneric(generic);
authToken.setOperator(Config.getOperator());