auth = new \ahrefs\AhrefsSeo_Vendor\Google\Auth\OAuth2( [ 'clientId' => $jsonKey['client_id'], 'clientSecret' => $jsonKey['client_secret'], 'refresh_token' => $jsonKey['refresh_token'], 'scope' => $scope, 'tokenCredentialUri' => Google_Proxy_Client::OAUTH2_TOKEN_URI, ] ); } }