Looking at the code I would consider the oauth_tokenmethod with the respective refresh token grant type.

My knowledge of PHP is little, but that method seems to be calling the expected endpoint for a refresh token request, /oauth/token, so if you pass the expected options for such a request it may do the trick.