message: exclude logout emc/bpm in oauth
diff: @@ -337,6 +337,9 @@ class AlfrescoApi {
  * @returns {Promise} A promise that returns {new authentication ticket} if resolved and {error} if rejected.
  * */
  logout() {
  + if (this.isOauthConfiguration()) {
  + this.oauth2Auth.logOut();
  + } else {
  if (this.isBpmConfiguration()) {
  return this.bpmAuth.logout();
  } else if (this.isEcmConfiguration()) {
  @@ -349,8 +352,7 @@ class AlfrescoApi {
  return ecmPromise;
  } else if (this.isEcmBpmConfiguration()) {
  return this._logoutBPMECM();
  - } else if (this.isOauthConfiguration()) {
  - this.oauth2Auth.logOut();
  + }
  }
  }
  