Request options
All the options depends on guzzle capabilities. See the guzzle doc.
If you need to use a proxy to access to the OP (see the doc guzzle) :
$client = new Svgta\OidcClient\init();
//...
$client->request->setHttpProxy('http://proxyUri:proxyPort');
$client->request->setHttpsProxy('http://proxyUri:proxyPort');
//the proxy is a string
$client->request->setNoProxy(['.myDomain', '.myOtherDomain']);
// the list is an array of domains that don't use proxy if http proxy and https proxy are set
No verify TLS :
$client->request->verifyTls(false);
Add SSL/TLS key :
$client->request->setCert('pathToFile');
//OR
$client->request->setCert(['pathToFile', 'password']);
Add other guzzle options :
$client->request->addOtherParam('debug', true);
Last updated