revokeRefreshToken () {
    return this._revokeToken(this.refreshToken).then(() => {
      this.refreshToken = null;
      this.accessToken = null; // Revoking a refresh token also revokes any associated access tokens.
      this.tokenExpiration = null;
    });
  }
/**
   * @summary Invalidates the current refresh 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`. All
   access tokens generated by this refresh token will also be invalidated. This effectively de-authenticates the requester and
   prevents it from making any more valid requests. This should only be used in a few cases, e.g. if this token has
   been accidentally leaked to a third party.
   * @example r.revokeRefreshToken();
   */
@summary Invalidates the current refresh 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`. All
access tokens generated by this refresh token will also be invalidated. This effectively de-authenticates the requester and
prevents it from making any more valid requests. This should only be used in a few cases, e.g. if this token has
been accidentally leaked to a third party.
@summary Invalidates the current refresh 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 ` . All access tokens generated by this refresh token will also be invalidated . This effectively de - authenticates the requester and prevents it from making any more valid requests . This should only be used in a few cases e . g . if this token has been accidentally leaked to a third party .
revokeRefreshToken () {
    return this._revokeToken(this.refreshToken).then(() => {
      this.refreshToken = null;
      this.accessToken = null; 
      this.tokenExpiration = null;
    });
  }
revokeRefreshToken ( ) { return this . _revokeToken ( this . refreshToken ) . then ( ( ) => { this . refreshToken = null ; this . accessToken = null ; this . tokenExpiration = null ; } ) ; }
@summary Invalidates the current refresh token.
@summary Invalidates the current refresh token .
// Revoking a refresh token also revokes any associated access tokens.