pantarei/drupal-oauth2 — pull request #1 by ObsidianX (2013-09-06 05:44:53+00:00)
Title: Fixed getRefreshToken

oauth2-php saves the "token" field from the array returned by
getRefreshToken() in order to delete the old one when a new one
is generated. DrupalOAuth2.inc's implementation was not returing
this field and so multiple valid refresh tokens were being created
in the database.