Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth API supports for Curl CURLOPT_PROXY option #319

Open
benoitrambaud opened this issue Feb 16, 2024 · 0 comments
Open

Auth API supports for Curl CURLOPT_PROXY option #319

benoitrambaud opened this issue Feb 16, 2024 · 0 comments

Comments

@benoitrambaud
Copy link

benoitrambaud commented Feb 16, 2024

Hi,

For those who need to make Mautic API calls behind a proxy server, here is a code update for the AbstractAuth class.
This simply adds support for the Curl CURLOPT_PROXY option.

(see mautic.zip)

Usage :

$initAuth = new ApiAuth();
$auth = $initAuth->newAuth($settings);
$auth->setCurlProxyUrl("https://myproxy.net:8888");

+++
Benoit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant