revokeAccessToken () {
    return this._revokeToken(this.accessToken).then(() => {
      this.accessToken = null;
      this.tokenExpiration = null;
    });
  }
/**
   * @summary Invalidates the current access token.
   * @returns {Promise} A Promise that fulfills when this request is complete
   * @desc **Note**: This can only be used if the current requester was supplied with a `client_id` and `client_secret`. If the
   current requester was supplied with a refresh token, it will automatically create a new access token if any more requests
   are made after this one.
   * @example r.revokeAccessToken();
   */
@summary Invalidates the current access token.
@returns {Promise} A Promise that fulfills when this request is complete
@desc **Note**: This can only be used if the current requester was supplied with a `client_id` and `client_secret`. If the
current requester was supplied with a refresh token, it will automatically create a new access token if any more requests
are made after this one.
@summary Invalidates the current access token . @returns { Promise } A Promise that fulfills when this request is complete @desc ** Note ** : This can only be used if the current requester was supplied with a ` client_id ` and ` client_secret ` . If the current requester was supplied with a refresh token it will automatically create a new access token if any more requests are made after this one .
revokeAccessToken () {
    return this._revokeToken(this.accessToken).then(() => {
      this.accessToken = null;
      this.tokenExpiration = null;
    });
  }
revokeAccessToken ( ) { return this . _revokeToken ( this . accessToken ) . then ( ( ) => { this . accessToken = null ; this . tokenExpiration = null ; } ) ; }
@summary Invalidates the current access token.
@summary Invalidates the current access token .