Add support for refreshing an access token #92

merged 1 commit into from Apr 24, 2012


None yet

3 participants


This adds support for refreshing an access token via oauth2.getOAuthAccessToken(). The first parameter sent to the method can either be a authorization code or a refresh token. If among the parameters is grant_type and it is equal to 'refresh_token', then change the parameter name of the code to 'refresh_token' instead of 'code'.


Also need same feature for oauth v1 using oauth_session_handle

@ciaranj ciaranj merged commit e1a8422 into ciaranj:master Apr 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment