src/MollieConnectProvider.php
public function getRefreshTokenResponse($refresh_token)
    {
        $response = $this->getHttpClient()->post($this->getTokenUrl(), [
            'headers' => ['Accept' => 'application/json'],
            'form_params' => $this->getRefreshTokenFields($refresh_token),
        ]);
        return json_decode($response->getBody(), true);
    }
public function getRefreshTokenResponse($refresh_token)
    {
        $response = $this->getHttpClient()->post($this->getTokenUrl(), [
            'headers' => ['Accept' => 'application/json'],
            'form_params' => $this->getRefreshTokenFields($refresh_token),
        ]);
        return json_decode($response->getBody(), true);
    }
public function getRefreshTokenResponse ( $ refresh_token ) { $ response = $ this -> getHttpClient ( ) -> post ( $ this -> getTokenUrl ( ) , [ 'headers' => [ 'Accept' => 'application/json' ] , 'form_params' => $ this -> getRefreshTokenFields ( $ refresh_token ) , ] ) ; return json_decode ( $ response -> getBody ( ) , true ) ; }
Get the access token with a refresh token.

@param string $refresh_token

@return array
Get the access token with a refresh token .