message: revert avoid store discovery service information
diff: @@ -130,6 +130,12 @@ export class Oauth2Auth extends AlfrescoApiClient {
  discoveryUrls() {
  return new Promise((resolve, reject) => {
  + let discoveryStore = this.storage.getItem('discovery');
  + if (discoveryStore) {
  + this.discovery = JSON.parse(discoveryStore);
  + }
  +
  + if (!this.discovery) {
  let postBody = {}, pathParams = {}, queryParams = {}, formParams = {}, headerParams = {};
  let contentTypes = ['application/json'];
  let accepts = ['application/json'];
  @@ -158,6 +164,10 @@ export class Oauth2Auth extends AlfrescoApiClient {
  this.storage.removeItem('discovery');
  reject(error.error);
  });
  + } else {
  + this.emit('discovery', this.discovery);
  + resolve(this.discovery);
  + }
  });
  }
  