/**
  * Revokes the specified token.
  *
  * @param string $token token to revoke
  * @param string $hint hint for token type
  *
  * @throws OAuthException if API gateway returned an error
  */
 public function revokeRefreshToken($refresh_token_string)
 {
     // Create service for requesting an OAuth token
     $osrvc = new OAuthTokenService($this->base_url, $this->client_id, $this->client_secret);
     // Revoke OAuth token using refresh_token as hint
     if (!empty($refresh_token_string)) {
         $osrvc->revokeToken($refresh_token_string, 'refresh_token');
     } else {
         throw new Exception('Invalid argument passed to revokeRefreshToken method.');
     }
 }