Skip to content

Commit

Permalink
Set credentialsResponseBody
Browse files Browse the repository at this point in the history
  • Loading branch information
DraperStudio committed Apr 1, 2016
1 parent 5f2c9e5 commit b18650e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ public function getAccessToken($code)
'form_params' => $this->getTokenFields($code),
]);

return $this->parseAccessToken($response->getBody()->getContents());
$this->credentialsResponseBody = json_decode($response->getBody(), true);

return $this->parseAccessToken($response->getBody());
}

/**
Expand Down

0 comments on commit b18650e

Please sign in to comment.